【同步】BOOT 和 CLOUD 的功能

This commit is contained in:
YunaiV
2025-08-29 20:05:55 +08:00
parent 59429be4df
commit 2503432067
72 changed files with 2340 additions and 272 deletions

View File

@@ -166,6 +166,10 @@ public class CouponServiceImpl implements CouponService {
public void invalidateCouponsByAdmin(List<Long> giveCouponIds, Long userId) {
// 循环收回
for (Long couponId : giveCouponIds) {
// couponId 为空或 0 则跳过
if (null == couponId || couponId <= 0) {
continue;
}
try {
getSelf().invalidateCoupon(couponId, userId);
} catch (Exception e) {