Ver código fonte

登录地址修改

chenjun 4 meses atrás
pai
commit
eae679360a

+ 1 - 1
zjugis-module-business/zjugis-module-business-biz/src/main/resources/templates/static/index.html

@@ -25,7 +25,7 @@
         return;
       }
       $.ajax({
-        url: "http://127.0.0.1:48081/admin-api/system/oauth2/refresh-token?refreshToken=" + refreshToken,
+        url: "http://60.191.110.205:28080/admin-api/system/oauth2/refresh-token?refreshToken=" + refreshToken,
         method: 'POST',
         success: function (result) {
           if (result.code !== 0) {

+ 2 - 2
zjugis-module-business/zjugis-module-business-biz/src/main/resources/templates/static/login.html

@@ -27,7 +27,7 @@
 
             // 发起请求
             $.ajax({
-                url: "http://127.0.0.1:48081/admin-api/system/oauth2/token?"
+                url: "http://60.191.110.205:28080/admin-api/system/oauth2/token?"
                     // 客户端
                     + "client_id=" + clientId
                     + "&client_secret=" + clientSecret
@@ -58,7 +58,7 @@
                     document.cookie = 'REFRESH_TOKEN='+ result.data.refresh_token + '; expires=' + expiryDate.toUTCString();
                     // 提示登录成功
                     alert('登录成功!');
-                    // window.location.href = '/index.html';
+                    window.location.href = '/index.html';
                 }
             });
         }