新客立减修改
This commit is contained in:
parent
017cf6656b
commit
46faa2cf16
|
|
@ -122,6 +122,7 @@ public class MkShopConsumeDiscountRecordServiceImpl extends ServiceImpl<MkShopCo
|
|||
log.info("新客立减仅限新用户使用");
|
||||
return null;
|
||||
}
|
||||
try {
|
||||
MkConsumeDiscountVO consumeDiscountVO = canUse(shopId, userId);
|
||||
|
||||
DateTime now = DateUtil.date();
|
||||
|
|
@ -164,6 +165,10 @@ public class MkShopConsumeDiscountRecordServiceImpl extends ServiceImpl<MkShopCo
|
|||
}
|
||||
|
||||
throw new ApiNotPrintException("随机立减计算失败");
|
||||
} catch (Exception e) {
|
||||
log.info(e.getMessage());
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue