Message Code

这个提交包含在:
2020-03-05 18:35:15 +08:00
父节点 763cd80975
当前提交 a79e641281
共有 5 个文件被更改,包括 41 次插入 和 13 次删除

查看文件

@ -59,7 +59,15 @@
}
})
});
GetMsg();
GetMsg();
document.getElementById("Ai::Restart").onclick = (()=>{
var ajax = new XMLHttpRequest();
ajax.open("GET","/OAC_RESTART");
ajax.send();
ajax.onreadystatechange = (()=>{
window.location.reload();
});
})
})
var SETMSG = (()=>{
var set = `${document.getElementById("MRMessageName").value}_${document.getElementById("MRMessageValue").value}`
@ -87,6 +95,10 @@
<div style="float:right;width:10%;height:5%;">
<a>欢迎您,<a id="UserName"></a></a><br><a id="Timer">00:00:00</a>
<hr>
<a style="color:red">请妥善保管此地址,<br/>本服务有权<a href="#" id="Ai::Restart" style="color:red;text-decoration:none">重启Ai。</a></a>
<hr>
<a>OnlineAi作者:<a href="https://gitee.com/lanshuye" style="color:black;text-decoration:none">蓝树叶</a></a>
<hr>
<a>实时消息数:</a><a id="Count">0</a>
</div>
<div style="float: right;width:2px;background: #000000;height: 90%;;"></div>