Commit 7f9166b8 by ping.wu

参数校验

parent 810e594a
......@@ -42,7 +42,7 @@ public class MCoffeeAddGoodsRequestVo {
* 门店Id
* 商城没有门店id,如果需要门店id必传在业务中进行校验
*/
//@NotEmpty(message = "shopId不能为空")
// @NotEmpty(message = "shopId不能为空")
private String shopId;
/**
......@@ -55,6 +55,7 @@ public class MCoffeeAddGoodsRequestVo {
*/
private String channelType;
@NotEmpty(message = "spuId不能为空")
private String spuId;
private String skuId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment