[prod] 生产临时修改域名;接口返回用户code

This commit is contained in:
liu.zixi
2025-11-12 21:16:18 +08:00
parent c592a29ad4
commit 8d31d63be5
2 changed files with 6 additions and 2 deletions

View File

@@ -127,7 +127,10 @@ public class CaseAiChatApi extends ApiBaseController {
try {
String currentUserCode = getCurrent().getCode();
boolean shouldShow = caseAiPermissionService.shouldShowCaseAiEntrance(currentUserCode);
return success(shouldShow);
// return success(shouldShow);
JsonResponse<Boolean> result = success(shouldShow);
result.setMessage(currentUserCode);
return result;
} catch (Exception e) {
log.error("判断案例专家功能入口显示权限异常", e);
return error("判断失败", e.getMessage());

View File

@@ -79,7 +79,8 @@ xboe:
default: https://u.boe.com/pc/images/bgimg/course.png
case:
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
secret-key: 43bc8003a811a7f9c89cbecbfe4bbb22
ai-api-code: 30800