更新注释

This commit is contained in:
liuchengqian 2022-03-29 11:58:33 +08:00
parent 6f0dc85929
commit c49ed5cea5

View File

@ -16,7 +16,7 @@ public class QcSourceController {
private QcSourceService qcSourceService; private QcSourceService qcSourceService;
/** /**
* 添加检验数据只能用Json接收字符串数据 * 添加检验数据于在Json接收字符串数据
*/ */
@PostMapping("/insertQcSource") @PostMapping("/insertQcSource")
public String insertQcSource(@RequestBody QcSourceQoInsert insertQo, @RequestParam(required = false, value = "picture") MultipartFile picture) { public String insertQcSource(@RequestBody QcSourceQoInsert insertQo, @RequestParam(required = false, value = "picture") MultipartFile picture) {
@ -24,7 +24,7 @@ public class QcSourceController {
} }
/** /**
* 添加检验数据只能用表单接收图片 * 添加检验数据用于在form-data中接收图片文件
*/ */
@PostMapping("/insertQcSourceOnlyPicture") @PostMapping("/insertQcSourceOnlyPicture")
public String insertQcSourceOnlyPicture(QcSourceQoInsert insertQo, @RequestParam(value = "picture") MultipartFile picture) { public String insertQcSourceOnlyPicture(QcSourceQoInsert insertQo, @RequestParam(value = "picture") MultipartFile picture) {