Commit d1617b5f by 冷斌

update

parent 986640fb
......@@ -43,6 +43,8 @@
alert("内容不能为空");
return !1;
}
var data2 = {"token":"1234567","content":content};
socket.emit("systemadmin",data2);
$.ajax({
url:'./index.php?g=admin&m=system&a=send',
data:{content:content},
......@@ -50,9 +52,8 @@
dataType:'json',
success:function(data){
if(data.error==0){
var data2 = {"token":"1234567","content":content};
console.log(data2, "{$config['chatserver']}");
socket.emit("systemadmin",data2);
// socket.emit("systemadmin",data2);
alert("发送成功");
}else{
alert(data.msg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment