Commit 2aa77451 by huangZW

111

parent 560877d0
......@@ -319,7 +319,13 @@ public class StoreController extends WebBaseController{
return resultResponse(HaoBanErrCode.ERR_400019);
}
}
//门店图片修改判断
if(StoreFieldEnum.STORE_IMAG.getValue().equals(changeField)){
//修改门店图片,不能为空
if(StringUtils.isBlank(newValue)){
return resultResponse(HaoBanErrCode.ERR_400020);
}
}
StoreDTO store = storeService.getStore(storeId);
......
......@@ -93,6 +93,7 @@ public enum HaoBanErrCode {
ERR_400017(400017, "成员不存在"),
ERR_400018(400018, "已有待审核的门店字段信息提交,请等待审核完再提交"),
ERR_400019(400019, "门店面积不合法"),
ERR_400020(400020, "门店图片不能为空"),
/**
* 文件不存在
......
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