Commit 49377cb6 by huangZW

111

parent 3c3b435e
......@@ -228,9 +228,15 @@ public class StoreController extends WebBaseController{
//修改门店数据
@RequestMapping("/change-store-detail")
public HaobanResponse changeStoreDetail(String wxEnterpriseId,String storeId,String staffId,String changeField,String oldValue,String newValue) {
if(StringUtils.isAnyBlank(wxEnterpriseId,storeId,changeField,oldValue,newValue)){
if(StringUtils.isAnyBlank(wxEnterpriseId,storeId,changeField)){
return resultResponse(HaoBanErrCode.ERR_2);
}
if(StringUtils.isBlank(oldValue)){
oldValue = "";
}
if(StringUtils.isBlank(newValue)){
newValue = "";
}
StoreDTO store = storeService.getStore(storeId);
String enterpriseId = store.getEnterpriseId();
logger.info("==================aaaa");
......
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