Browse Source

删除coze识别图片信息,添加阿里云识别图片信息

zhouzeyu 4 months ago
parent
commit
8d4b511149

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

@@ -6,6 +6,7 @@ import com.alibaba.dashscope.app.ApplicationResult;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
 import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RequestParam;
 import org.springframework.web.bind.annotation.RestController;
@@ -27,7 +28,7 @@ public class ALiYunController {
     @Autowired
     private ALiYunService aliYunService;
 
-    @RequestMapping("/recognize")
+    @PostMapping("/recognize")
     @ApiOperation(value = "识别患者图片信息",notes = "权限: 无")
     public CommonResult<Map<String, Object>> recognizeImage(@RequestParam MultipartFile file,
                                                             @RequestParam(required = false) String configId,