|
@@ -288,15 +288,15 @@ U.MD.D.getuser = function () {
|
|
|
if (Object.keys(userInfo).length === 0 && _cookie) {
|
|
|
U.A.Request(US.Config.server + "getcookieuserid", [], function (res) {
|
|
|
if (res.value && res.value[0] && res.value[0][0]) {
|
|
|
- US.userInfo = res.value[0][0];
|
|
|
- U.A.Request(US.Config.edu + "admin/userinfo/userinfoById/" + US.userInfo.userid, [], function (res) {
|
|
|
+ var _user = res.value[0][0];
|
|
|
+ U.A.Request(US.Config.edu + "admin/userinfo/userinfoById/" + _user.userid, [], function (res) {
|
|
|
if (res.value && res.value[0] && res.value[0][0]) {
|
|
|
US.userInfo = res.value[0][0]; //记录用户数据
|
|
|
U.MD.O.P.connect(); //登录成功后连接socket服务同步协同编辑
|
|
|
if ($("#U_MD_HomeC_Pop")[0]) {
|
|
|
$("#U_MD_HomeC_Pop")[0].close(); //关闭登陆
|
|
|
}
|
|
|
- U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) {//US.userInfo.userid
|
|
|
+ U.A.Request(US.Config.pbl + "selectUser?userid=" + _user.userid, [], function (res) {//US.userInfo.userid
|
|
|
if (res.value == null || res.value[0].length == 0) {
|
|
|
U.MD.D.isLogin();
|
|
|
U.MD.D.I.openApplication("my")
|