1、用户详细信息添加国家、职业、用户名修改剩余次数
2、积分不够 返回异常提示类型更改 3、添加根据ip解析地理位置测试接口 4、更新积分刷新机制(每月1号0点刷新年费用户积分)
This commit is contained in:
@@ -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("每周日晚11:59:59刷新付费用户积分为 6000");
|
||||
accountService.refreshCreditsWeekly();
|
||||
|
||||
Reference in New Issue
Block a user