From c49ed5cea5f6d042861b6478038a30d687735319 Mon Sep 17 00:00:00 2001 From: liuchengqian Date: Tue, 29 Mar 2022 11:58:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/xkrs/controller/QcSourceController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {