Commit c20918e4 by guojuxing

获取详情调整:如果未配置,不再报错

parent ea08db05
...@@ -239,8 +239,7 @@ public class WmStoreApiServiceImpl implements WmStoreApiService { ...@@ -239,8 +239,7 @@ public class WmStoreApiServiceImpl implements WmStoreApiService {
return ServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "店铺配置类型值非法"); return ServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "店铺配置类型值非法");
} }
//新增 //新增
return ServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), return ServiceResponse.success(new WmStoreConfigDTO());
WmStoreConfigTypeEnum.getMessageByCode(wmStoreConfigType) + "还未配置");
} }
return ServiceResponse.success(EntityUtil.changeEntityNew(WmStoreConfigDTO.class, config)); return ServiceResponse.success(EntityUtil.changeEntityNew(WmStoreConfigDTO.class, config));
} }
......
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