|
@@ -31,18 +31,4 @@ public class ALiYunController {
|
|
|
public CommonResult<List<WxDoctorClinicRoomThumbnailVO>> recognizeImage(@RequestParam MultipartFile file) throws Exception {
|
|
public CommonResult<List<WxDoctorClinicRoomThumbnailVO>> recognizeImage(@RequestParam MultipartFile file) throws Exception {
|
|
|
return CommonResult.success(aliYunService.recognizeImage(file));
|
|
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));
|
|
|
|
|
- }
|
|
|
|
|
}
|
|
}
|