Impl magic login logic && checkin logic

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2025-12-25 00:37:02 +08:00
parent cd2bcd597c
commit bd726f80ea
10 changed files with 54 additions and 15 deletions

11
service/info/handler.go Normal file
View File

@@ -0,0 +1,11 @@
package info
import (
"nixcn-cms/internal/crypto/jwt"
"github.com/gin-gonic/gin"
)
func Handler(r *gin.RouterGroup) {
r.Use(jwt.JWTAuth())
}

1
service/info/userinfo.go Normal file
View File

@@ -0,0 +1 @@
package info