Commit d934e857 by 冷斌

update

parent 51fc199d
...@@ -799,14 +799,13 @@ io.on('connection', function(socket) { ...@@ -799,14 +799,13 @@ 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":""+ data.content, "ct":''+ data.content,
"msgtype":"4" "msgtype":"4"
} }
], ],
......
<admintpl file="header" /> <admintpl file="header" />
<script src="__PUBLIC__/js/socket.io.js"></script>
</head> </head>
<body> <body>
<div class="wrap"> <div class="wrap">
......
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