Commit 568523e4 authored by 杨翌文's avatar 杨翌文

feature: 配置prd数据

parent b8aa2db9
......@@ -33,6 +33,9 @@ public class UserMobileController {
@Value("${sso.user.mock:true}")
private String enableMock;
@Value("${sso.domain:}")
private String ssoBaseUrl;
@Operation(summary = "单点登录")
@GetMapping("/sso")
public void userSSOLogin(@RequestParam("jwt") String token, HttpServletResponse response) {
......@@ -43,7 +46,7 @@ public class UserMobileController {
jwt.setPath("/");
jwt.setHttpOnly(true);
response.addCookie(jwt);
response.sendRedirect("/elle-coaching/1.0.0/index.html");
response.sendRedirect(ssoBaseUrl + "/elle-coaching/1.0.0/index.html");
} catch (IOException e) {
log.error("单点登录异常{}", ExceptionUtil.getMessage(e));
}
......
......@@ -77,7 +77,7 @@ knife4j:
sso:
user:
mock: false
domain: https://elleai.e-tools.cn
rerank:
api-base-url: http://10.0.8.210:9997
embedding:
......@@ -86,3 +86,4 @@ embedding:
milvus:
host: 10.0.8.210
port: 19530
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment