修改页面
CI / Server (Go) (push) Has been cancelled
CI / Web (Next.js) (push) Has been cancelled
CI / Mobile (React Native) (push) Has been cancelled
CI / Admin (React) (push) Has been cancelled
CI / Docker Build (push) Has been cancelled

This commit is contained in:
zeronline
2026-06-25 16:33:32 +08:00
parent c5cccd346b
commit 545329ac40
63 changed files with 2560 additions and 161 deletions
+4
View File
@@ -57,8 +57,12 @@ func Setup(db *gorm.DB, cfg *config.Config) *gin.Engine {
user.PUT("/profile", userH.UpdateProfile)
user.DELETE("/account", userH.DeleteAccount)
user.GET("/points", userH.GetPoints)
user.GET("/search", userH.SearchUsers)
}
// 排行榜(公开数据,需登录)
authed.GET("/leaderboard", userH.GetLeaderboard)
// 打卡模块
checkin := authed.Group("/checkin")
{