Message Code
这个提交包含在:
14
WebUI.html
14
WebUI.html
@ -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>
|
||||
|
||||
在新工单中引用
屏蔽一个用户