This commit is contained in:
Robin 2024-11-22 17:04:34 +08:00
parent 452b79444e
commit bdeeb00668
1 changed files with 1 additions and 1 deletions

View File

@ -631,7 +631,7 @@ func Init(r *gin.Engine) {
opNotificationGroup.POST("cancel", middleware.JSONParamValidator(notificationproto.OpCancelReq{}), middleware.JwtAuthenticator(), OpCancelNotification) opNotificationGroup.POST("cancel", middleware.JSONParamValidator(notificationproto.OpCancelReq{}), middleware.JwtAuthenticator(), OpCancelNotification)
// 前端页面路由表 // 前端页面路由表
opFrontendRouteGroup := r.Group("/api/frontend_route", PrepareOp()) opFrontendRouteGroup := r.Group("/op/frontend_route", PrepareOp())
opFrontendRouteGroup.POST("create", middleware.JSONParamValidator(frontend_route_proto.OpCreateReq{}), middleware.JwtAuthenticator(), OpCreateFrontendRoute) 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("update", middleware.JSONParamValidator(frontend_route_proto.OpUpdateReq{}), middleware.JwtAuthenticator(), OpUpdateFrontendRoute)
opFrontendRouteGroup.POST("delete", middleware.JSONParamValidator(frontend_route_proto.OpDeleteReq{}), middleware.JwtAuthenticator(), OpDeleteFrontendRoute) opFrontendRouteGroup.POST("delete", middleware.JSONParamValidator(frontend_route_proto.OpDeleteReq{}), middleware.JwtAuthenticator(), OpDeleteFrontendRoute)