lsc 2 years ago
parent
commit
923e185104
1 changed files with 4 additions and 1 deletions
  1. 4 1
      js/Desktop/Onload.js

+ 4 - 1
js/Desktop/Onload.js

@@ -319,9 +319,12 @@ 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) {
+                                    // US.Config.pbl
+                                    
+                                    U.A.Request("http://localhost:7003/api/pbl/" + "updatePblMessage", [_user.userid, _name, _type, '45facc0a-1211-11ec-80ad-005056b86db5', '', '', "0"], function (res) {
                                         window.location.reload();
                                     }, [], { "type": "POST", "withCredentials": true });