mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-17 22:58:21 +00:00
feat(redeem): add redeem code batch update
This commit is contained in:
1 parent
7ec61eb2f5
commit
3263ca63c7
18 files changed
+1144
-7
No files matched your search
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user