记得上下班打卡 | git大法好,push需谨慎

Commit 01afe240 authored by 张国柄's avatar 张国柄

~API:优惠券编辑:校验更正;

parent 127aa88d
......@@ -258,7 +258,7 @@ public class GoblinStoreMgtCouponController {
|| null == (storeCouponVo = goblinRedisUtils.getStoreCouponVo(storeCouponId)) || !storeId.equals(storeCouponVo.getStoreId())) {
return ResponseDto.failure(ErrorCode.HTTP_PARAM_ERROR.getCode(), "参数无效:优惠券ID");
}
if (storeCouponVo.getType().equals(mgtCouponEditParam.getType())) {
if (!storeCouponVo.getType().equals(mgtCouponEditParam.getType())) {
return ResponseDto.failure(ErrorCode.HTTP_PARAM_ERROR.getCode(), "卡券类型不可变更");
}
if (log.isDebugEnabled()) {
......
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