Ver Fonte

fix
权限问题

lifang há 3 meses atrás
pai
commit
118ecec598

+ 1 - 0
tr-modules/tr-module-smartFollowUp/src/main/java/cn/tr/module/smart/common/service/impl/BizClinicRoomServiceImpl.java

@@ -479,6 +479,7 @@ public class BizClinicRoomServiceImpl implements IBizClinicRoomService {
         BizAiAgentParamVO result = new BizAiAgentParamVO();
         result.setAppId(aLiYunProperties.getAppId());
         result.setApiKey(aLiYunProperties.getApiKey());
+        result.setWorkplaceId(aLiYunProperties.getBailianWorkplaceId());
         BizClinicRoomPO clinicRoom = baseRepository.selectById(source.getClinicId());
         if(ObjectUtil.isNull(clinicRoom)){
             throw new ServiceException(TRExcCode.SYSTEM_ERROR_B0001, "手术信息不存在");

+ 2 - 0
tr-modules/tr-module-smartFollowUp/src/main/java/cn/tr/module/smart/wx/controller/vo/BizAiAgentParamVO.java

@@ -9,6 +9,8 @@ public class BizAiAgentParamVO {
     private String appId;
     @ApiModelProperty(value = "阿里云百炼apiKey")
     private String apiKey;
+    @ApiModelProperty("工作空间id")
+    private String workplaceId;
     @ApiModelProperty(value = "阿里云百炼智能体的长期记忆id")
     private String memoryId;
 }