修改页面
This commit is contained in:
@@ -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")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user