feat(redeem): add redeem code batch update

This commit is contained in:
wucm667 committed 2026-05-20 16:08:41 +08:00
1 parent 7ec61eb2f5
commit 3263ca63c7
18 files changed
+1144 -7

No files matched your search

+1
View File
@@ -393,6 +393,7 @@ func registerRedeemCodeRoutes(admin *gin.RouterGroup, h *handler.Handlers) {
codes.POST("/generate", h.Admin.Redeem.Generate)
codes.DELETE("/:id", h.Admin.Redeem.Delete)
codes.POST("/batch-delete", h.Admin.Redeem.BatchDelete)
codes.POST("/batch-update", h.Admin.Redeem.BatchUpdate)
codes.POST("/:id/expire", h.Admin.Redeem.Expire)
}
}