|
@@ -481,6 +481,9 @@ U.MD.D.getuser = function () {
|
|
if(res.value[0][0].type === 1 && window.location.hash.indexOf('study') != -1){
|
|
if(res.value[0][0].type === 1 && window.location.hash.indexOf('study') != -1){
|
|
U.MD.D.I.openApplication("study")
|
|
U.MD.D.I.openApplication("study")
|
|
}
|
|
}
|
|
|
|
+ if(res.value[0][0].type === 2 && window.location.hash.indexOf('study') != -1){
|
|
|
|
+ U.MD.D.I.openApplication("studentStudy")
|
|
|
|
+ }
|
|
U.MD.O.P.connect(); //登录成功后连接socket服务同步协同编辑
|
|
U.MD.O.P.connect(); //登录成功后连接socket服务同步协同编辑
|
|
}, [], { "type": "GET", "withCredentials": true });
|
|
}, [], { "type": "GET", "withCredentials": true });
|
|
}
|
|
}
|
|
@@ -691,6 +694,9 @@ U.MD.D.getuser = function () {
|
|
if(res.value[0][0].type === 1 && window.location.hash.indexOf('study') != -1){
|
|
if(res.value[0][0].type === 1 && window.location.hash.indexOf('study') != -1){
|
|
U.MD.D.I.openApplication("study")
|
|
U.MD.D.I.openApplication("study")
|
|
}
|
|
}
|
|
|
|
+ if(res.value[0][0].type === 2 && window.location.hash.indexOf('study') != -1){
|
|
|
|
+ U.MD.D.I.openApplication("studentStudy")
|
|
|
|
+ }
|
|
U.MD.O.P.connect(); //登录成功后连接socket服务同步协同编辑
|
|
U.MD.O.P.connect(); //登录成功后连接socket服务同步协同编辑
|
|
}, [], { "type": "GET", "withCredentials": true });
|
|
}, [], { "type": "GET", "withCredentials": true });
|
|
}
|
|
}
|
|
@@ -950,6 +956,9 @@ U.MD.D.getuser2 = function (userid, cid) {
|
|
if(res.value[0][0].type === 1 && window.location.hash.indexOf('study') != -1){
|
|
if(res.value[0][0].type === 1 && window.location.hash.indexOf('study') != -1){
|
|
U.MD.D.I.openApplication("study")
|
|
U.MD.D.I.openApplication("study")
|
|
}
|
|
}
|
|
|
|
+ if(res.value[0][0].type === 2 && window.location.hash.indexOf('study') != -1){
|
|
|
|
+ U.MD.D.I.openApplication("studentStudy")
|
|
|
|
+ }
|
|
U.MD.O.P.connect(); //登录成功后连接socket服务同步协同编辑
|
|
U.MD.O.P.connect(); //登录成功后连接socket服务同步协同编辑
|
|
U.MD.D.I.openInApplication("studyDetail", cid, 2, 2)
|
|
U.MD.D.I.openInApplication("studyDetail", cid, 2, 2)
|
|
}, [], { "type": "GET", "withCredentials": true });
|
|
}, [], { "type": "GET", "withCredentials": true });
|