feat: add content review flow
This commit is contained in:
@@ -75,6 +75,12 @@ func (r *Routes) Register(router fiber.Router) {
|
||||
PathParam[int64]("id"),
|
||||
Body[dto.SuperContentReviewForm]("form"),
|
||||
))
|
||||
r.log.Debugf("Registering route: Post /super/v1/contents/review/batch -> contents.BatchReview")
|
||||
router.Post("/super/v1/contents/review/batch"[len(r.Path()):], Func2(
|
||||
r.contents.BatchReview,
|
||||
Local[*models.User]("__ctx_user"),
|
||||
Body[dto.SuperContentBatchReviewForm]("form"),
|
||||
))
|
||||
// Register routes for controller: coupons
|
||||
r.log.Debugf("Registering route: Get /super/v1/coupons -> coupons.List")
|
||||
router.Get("/super/v1/coupons"[len(r.Path()):], DataFunc1(
|
||||
|
||||
Reference in New Issue
Block a user