Move event query to user query

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2025-12-28 01:07:49 +08:00
parent b3fe91444d
commit fb7ecaffe9
3 changed files with 2 additions and 2 deletions

View File

@@ -9,5 +9,4 @@ import (
func Handler(r *gin.RouterGroup) {
r.Use(middleware.JWTAuth())
r.GET("/info", Info)
r.GET("/query", Query)
}

View File

@@ -13,4 +13,5 @@ func Handler(r *gin.RouterGroup) {
r.POST("/checkin/submit", CheckinSubmit)
r.PATCH("/update", Update)
r.GET("/list", List)
r.GET("/query", Query)
}

View File

@@ -1,4 +1,4 @@
package event
package user
import (
"nixcn-cms/data"