新客立减修改

This commit is contained in:
张松 2025-10-13 14:29:28 +08:00
parent 017cf6656b
commit 46faa2cf16
1 changed files with 40 additions and 35 deletions

View File

@ -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;
}
}
}