feat: add point redeem notification

This commit is contained in:
Tim
2025-08-17 02:27:19 +08:00
parent 0b6d4f9709
commit 2c187cf2cd
6 changed files with 49 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ public class PointMallService {
}
user.setPoint(user.getPoint() - good.getCost());
userRepository.save(user);
notificationService.createActivityRedeemNotifications(user, good.getName() + ": " + contact);
notificationService.createPointRedeemNotifications(user, good.getName() + ": " + contact);
return user.getPoint();
}
}