feat: 安全回写档口入库码并支持核验恢复 (#234)
This commit is contained in:
@@ -120,6 +120,8 @@ func Register(r *gin.Engine, db *sql.DB, onlineThreshold time.Duration, aiSecret
|
||||
innerCodes := pages.Group("/inner-codes")
|
||||
innerCodes.POST("/import", h.InnerCodeImport)
|
||||
innerCodes.POST("/match", h.InnerCodeMatch)
|
||||
innerCodes.POST("/apply", h.InnerCodeApply)
|
||||
innerCodes.POST("/recheck", h.InnerCodeRecheck)
|
||||
|
||||
// 7. 用户管理:先经过网页登录,再叠加管理员角色校验。
|
||||
users := pages.Group("/users", AdminRequired())
|
||||
|
||||
Reference in New Issue
Block a user