lsc 2 лет назад
Родитель
Сommit
94620c0c80
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      js/Desktop/Onload.js

+ 2 - 0
js/Desktop/Onload.js

@@ -319,6 +319,8 @@ U.MD.D.getuser = function () {
                             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.I.openApplication("my")
+                                    let _name = US.userInfo.alias ? US.userInfo.alias : US.userInfo.username
+                                    let _type = US.userInfo == 1 ? 2 : 1
                                     U.A.Request(US.Config.pbl + "updatePblMessage", [_user.userid, _name, _type, '45facc0a-1211-11ec-80ad-005056b86db5', '', '', "0"], function (res) {
                                         window.location.reload();
                                     }, [], { "type": "GET", "withCredentials": true });