Commit 5771620c by 冷斌

update

parent 2626b000
...@@ -799,13 +799,14 @@ io.on('connection', function(socket) { ...@@ -799,13 +799,14 @@ io.on('connection', function(socket) {
}); });
/* 系统信息 */ /* 系统信息 */
socket.on('systemadmin',function(data){ socket.on('systemadmin',function(data){
console.log(data);
if(data['token'] == config['TOKEN']){ if(data['token'] == config['TOKEN']){
var data_obj={ var data_obj={
"msg":[ "msg":[
{ {
"_method_":"SystemNot", "_method_":"SystemNot",
"action":"1", "action":"1",
"ct":"asdfasdf", "ct":''+ data.content,
"msgtype":"4" "msgtype":"4"
} }
], ],
......
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