feat: add batch content governance actions
This commit is contained in:
@@ -145,6 +145,12 @@ func (r *Routes) Register(router fiber.Router) {
|
||||
Local[*models.User]("__ctx_user"),
|
||||
Body[dto.SuperContentBatchReviewForm]("form"),
|
||||
))
|
||||
r.log.Debugf("Registering route: Post /super/v1/contents/status/batch -> contents.BatchUpdateStatus")
|
||||
router.Post("/super/v1/contents/status/batch"[len(r.Path()):], Func2(
|
||||
r.contents.BatchUpdateStatus,
|
||||
Local[*models.User]("__ctx_user"),
|
||||
Body[dto.SuperContentBatchStatusForm]("form"),
|
||||
))
|
||||
// Register routes for controller: coupons
|
||||
r.log.Debugf("Registering route: Get /super/v1/coupon-grants -> coupons.ListGrants")
|
||||
router.Get("/super/v1/coupon-grants"[len(r.Path()):], DataFunc1(
|
||||
|
||||
Reference in New Issue
Block a user