feat: 安全回写档口入库码并支持核验恢复 (#234)

This commit is contained in:
chengma
2026-08-15 09:10:10 +08:00
parent 15ebda23e3
commit 2778eed29f
11 changed files with 782 additions and 4 deletions
+2
View File
@@ -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())