1、用户详细信息添加国家、职业、用户名修改剩余次数

2、积分不够 返回异常提示类型更改
3、添加根据ip解析地理位置测试接口
4、更新积分刷新机制(每月1号0点刷新年费用户积分)
This commit is contained in:
2025-01-06 14:42:08 +08:00
parent ee1e2f8556
commit e4a8bf80e9
8 changed files with 125 additions and 6 deletions

View File

@@ -18,9 +18,11 @@ public class AccountTask {
/**
* 每周日晚上刷新 年付用户、月付用户的积分
* 替换为
* 每个月月初只刷新年付用户的积分
*/
// @Scheduled(cron = "59 59 23 ? * SUN")
// @Scheduled(cron = "59 59 23 * * ?")
@Scheduled(cron = "0 0 0 1 * ?")
public void refreshCreditsMonthly() {
log.info("每周日晚115959刷新付费用户积分为 6000");
accountService.refreshCreditsWeekly();