mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-12 20:36:50 +08:00
[prod] 生产临时修改域名;接口返回用户code
This commit is contained in:
@@ -127,7 +127,10 @@ public class CaseAiChatApi extends ApiBaseController {
|
|||||||
try {
|
try {
|
||||||
String currentUserCode = getCurrent().getCode();
|
String currentUserCode = getCurrent().getCode();
|
||||||
boolean shouldShow = caseAiPermissionService.shouldShowCaseAiEntrance(currentUserCode);
|
boolean shouldShow = caseAiPermissionService.shouldShowCaseAiEntrance(currentUserCode);
|
||||||
return success(shouldShow);
|
// return success(shouldShow);
|
||||||
|
JsonResponse<Boolean> result = success(shouldShow);
|
||||||
|
result.setMessage(currentUserCode);
|
||||||
|
return result;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("判断案例专家功能入口显示权限异常", e);
|
log.error("判断案例专家功能入口显示权限异常", e);
|
||||||
return error("判断失败", e.getMessage());
|
return error("判断失败", e.getMessage());
|
||||||
|
|||||||
@@ -79,7 +79,8 @@ xboe:
|
|||||||
default: https://u.boe.com/pc/images/bgimg/course.png
|
default: https://u.boe.com/pc/images/bgimg/course.png
|
||||||
case:
|
case:
|
||||||
ai:
|
ai:
|
||||||
base-url: https://gateway-internal.boe.com
|
# base-url: https://gateway-internal.boe.com
|
||||||
|
base-url: https://gateway-pro.boe.com
|
||||||
app-key: 3edef300b25642da949ccddf58441a0f
|
app-key: 3edef300b25642da949ccddf58441a0f
|
||||||
secret-key: 43bc8003a811a7f9c89cbecbfe4bbb22
|
secret-key: 43bc8003a811a7f9c89cbecbfe4bbb22
|
||||||
ai-api-code: 30800
|
ai-api-code: 30800
|
||||||
|
|||||||
Reference in New Issue
Block a user