|
|
@@ -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,
|