Ver Fonte

fix
手术未结束,不可推送数据

lifang há 3 meses atrás
pai
commit
02b1ba2b1a

+ 1 - 0
tr-modules/tr-module-mobile/src/main/java/cn/tr/module/mobile/ServerEventListenerImpl.java

@@ -141,6 +141,7 @@ public class ServerEventListenerImpl implements ServerEventListener {
         // 【重要】用户定义的消息或指令协议类型(开发者可据此类型来区分具体的消息或指令)
         int typeu = p.getTypeu();
         try {
+            log.info("接收到消息指令:{}", dataContent);
             if(!validateMsgDTO(dataContent)){
                 return false;
             }

+ 1 - 1
tr-modules/tr-module-mobile/src/main/java/cn/tr/module/mobile/service/impl/ImMsgReceivedServiceImpl.java

@@ -60,8 +60,8 @@ public class ImMsgReceivedServiceImpl implements IImMsgReceivedService {
             if(p!=null){
                 return;
             }
+            log.info("发送消息:{}", JSONUtil.toJsonStr(msgDTO));
             if(StrUtil.equalsAny(msgDTO.getType(),MsgContentType.DOCTOR_IN,MsgContentType.DOCTOR_OUT)){
-                log.info("发送消息:{}", JSONUtil.toJsonStr(msgDTO));
             }else {
                 ImMsgReceivedPO receivedPO = new ImMsgReceivedPO();
                 receivedPO.setMsgId(msgDTO.getMsgId());

+ 0 - 14
tr-modules/tr-module-smartFollowUp/src/main/java/cn/tr/module/smart/app/controller/ALiYunController.java

@@ -31,18 +31,4 @@ public class ALiYunController {
     public CommonResult<List<WxDoctorClinicRoomThumbnailVO>> recognizeImage(@RequestParam MultipartFile file) throws Exception {
         return CommonResult.success(aliYunService.recognizeImage(file));
     }
-
-    @PostMapping("/recognizeCommit")
-    @ApiOperation(value = "提交患者图片进行识别",notes = "权限: 无")
-    public CommonResult<String> recognizeImageCommit(@RequestParam MultipartFile file) throws Exception {
-        aliYunService.recognizeImageCommit(file);
-        return CommonResult.success("");
-    }
-
-
-    @GetMapping("/recognizeResult/{recognizeId}")
-    @ApiOperation(value = "获取识别患者图片信息的结果",notes = "权限: 无")
-    public CommonResult<List<WxDoctorClinicRoomThumbnailVO>> recognizeResult(@RequestParam MultipartFile file) throws Exception {
-        return CommonResult.success(aliYunService.recognizeImage(file));
-    }
 }