diff --git a/servers/boe-server-all/src/main/java/com/xboe/module/boecase/api/CaseAiChatApi.java b/servers/boe-server-all/src/main/java/com/xboe/module/boecase/api/CaseAiChatApi.java index 64706599..64f57387 100644 --- a/servers/boe-server-all/src/main/java/com/xboe/module/boecase/api/CaseAiChatApi.java +++ b/servers/boe-server-all/src/main/java/com/xboe/module/boecase/api/CaseAiChatApi.java @@ -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 result = success(shouldShow); + result.setMessage(currentUserCode); + return result; } catch (Exception e) { log.error("判断案例专家功能入口显示权限异常", e); return error("判断失败", e.getMessage()); diff --git a/servers/boe-server-all/src/main/resources/application-prod.yml b/servers/boe-server-all/src/main/resources/application-prod.yml index 9c3bd5d8..3de56dee 100644 --- a/servers/boe-server-all/src/main/resources/application-prod.yml +++ b/servers/boe-server-all/src/main/resources/application-prod.yml @@ -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