用户访问统计使用缓存+定时任务

+ 重要:注释的地方如果没用到@nagisa77可以删除
This commit is contained in:
wangshun
2025-09-09 16:31:59 +08:00
parent 16c94690bd
commit 843e53143d
6 changed files with 110 additions and 17 deletions

View File

@@ -82,6 +82,7 @@ public class UserController {
));
}
// 这个方法似乎没有使用?
@PostMapping("/me/signin")
public Map<String, Integer> signIn(Authentication auth) {
int reward = levelService.awardForSignin(auth.getName());