...
|
...
|
@@ -367,7 +367,7 @@ define(['jquery', 'bootstrap', 'backend', 'addtabs', 'adminlte', 'form','/assets |
|
|
$(document).ready(function () {
|
|
|
var uid=$('.orders').attr('data-uid');
|
|
|
// 连接服务端
|
|
|
var socket = io(document.location.protocol+'://'+document.domain+':2120');
|
|
|
var socket = io(document.domain+':2120');
|
|
|
// 连接后登录
|
|
|
socket.on('connect', function(){
|
|
|
socket.emit('login', uid);
|
...
|
...
|
|