diff --git a/src/main/java/com/xkrs/controller/QcSourceController.java b/src/main/java/com/xkrs/controller/QcSourceController.java index d8b2373..6a513af 100644 --- a/src/main/java/com/xkrs/controller/QcSourceController.java +++ b/src/main/java/com/xkrs/controller/QcSourceController.java @@ -16,7 +16,7 @@ public class QcSourceController { private QcSourceService qcSourceService; /** - * 添加检验数据(只能用Json接收字符串数据) + * 添加检验数据(用于在Json中接收字符串数据) */ @PostMapping("/insertQcSource") public String insertQcSource(@RequestBody QcSourceQoInsert insertQo, @RequestParam(required = false, value = "picture") MultipartFile picture) { @@ -24,7 +24,7 @@ public class QcSourceController { } /** - * 添加检验数据(只能用表单接收图片) + * 添加检验数据(用于在form-data中接收图片文件) */ @PostMapping("/insertQcSourceOnlyPicture") public String insertQcSourceOnlyPicture(QcSourceQoInsert insertQo, @RequestParam(value = "picture") MultipartFile picture) {