Browse Source

增加项目接口路径前缀与登录页地址

tags/24080901
WendyYang 5 months ago
parent
commit
2855f0fb48
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/user/controller/UserAuthController.java
  2. +2
    -2
      hz-pm-api/src/main/resources/application-prod.yml

+ 1
- 1
hz-pm-api/src/main/java/com/hz/pm/api/user/controller/UserAuthController.java View File

@@ -109,7 +109,7 @@ public class UserAuthController {
}
String authCode = authCodeLoginManage.generateAuthCode(targetUserId);
String urlParam = "?authCode=" + authCode;
String path = WebProps.apiUrl + request.getContextPath() + AUTH_CODE_LOGIN_PATH;
String path = request.getContextPath() + AUTH_CODE_LOGIN_PATH;
response.sendRedirect(path + urlParam);
}



+ 2
- 2
hz-pm-api/src/main/resources/application-prod.yml View File

@@ -179,9 +179,9 @@ login:
url: http://60.188.225.145/login
web:
login:
url:
url: https://hzszxc.hzswb.cn:8443/project
api:
url:
url: https://hzszxc.hzswb.cn:8443/project/hzpm

mh:
sso:


Loading…
Cancel
Save