Commit af56d898 by guojuxing

设置门店状态启用策略权重

parent 021224fa
......@@ -254,14 +254,14 @@ public class StoreStrategyController {
return RestResponse.success(result.getResult());
}
@RequestMapping("/update-store-status-enabble-strategy-weights")
@RequestMapping("/update-store-status-enable-strategy-weights")
public RestResponse setStoreStatusEnableStrategyWeight(Integer weight) {
if (weight == null) {
return RestResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "参数错误");
}
ServiceResponse result = storeStrategyApiService.setStoreStatusEnableStrategyWeight(
UserDetailUtils.getUserDetail().getEnterpriseInfo().getEnterpriseId(), weight);
return OperationResultUtils.operationResult(result, "设置门店分组策略权重",
return OperationResultUtils.operationResult(result, "设置门店状态启用策略权重",
UserDetailUtils.getUserDetail().getEnterpriseInfo().getEnterpriseName());
}
......
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