feat: 增加商品目录导入记录 (#134)

This commit is contained in:
chengma
2026-08-11 10:11:15 +08:00
parent 1961dd8356
commit 3ac4467f6c
12 changed files with 298 additions and 1 deletions
+5
View File
@@ -102,6 +102,11 @@ func Register(r *gin.Engine, db *sql.DB, onlineThreshold time.Duration) {
users.POST("/create", h.UserCreate)
users.POST("/status", h.UserSetStatus)
users.POST("/reset-password", h.UserResetPassword)
// 7. 第三方商品目录导入记录:系统级审计仅管理员可见。
integrations := pages.Group("/integrations", AdminRequired())
integrations.GET("/catalog", h.CatalogHistory)
integrations.GET("/catalog/detail", h.CatalogHistoryDetail)
}
// page 组装每个页面都要的公共数据(导航高亮、标题、CSRF token)。