feat-IRONFANS-212-Robin #829
|
@ -631,7 +631,7 @@ func Init(r *gin.Engine) {
|
|||
opNotificationGroup.POST("cancel", middleware.JSONParamValidator(notificationproto.OpCancelReq{}), middleware.JwtAuthenticator(), OpCancelNotification)
|
||||
|
||||
// 前端页面路由表
|
||||
opFrontendRouteGroup := r.Group("/api/frontend_route", PrepareToC())
|
||||
opFrontendRouteGroup := r.Group("/api/frontend_route", PrepareOp())
|
||||
opFrontendRouteGroup.POST("create", middleware.JSONParamValidator(frontend_route_proto.OpCreateReq{}), middleware.JwtAuthenticator(), OpCreateFrontendRoute)
|
||||
opFrontendRouteGroup.POST("update", middleware.JSONParamValidator(frontend_route_proto.OpUpdateReq{}), middleware.JwtAuthenticator(), OpUpdateFrontendRoute)
|
||||
opFrontendRouteGroup.POST("delete", middleware.JSONParamValidator(frontend_route_proto.OpDeleteReq{}), middleware.JwtAuthenticator(), OpDeleteFrontendRoute)
|
||||
|
|
Loading…
Reference in New Issue