diff --git a/app/mix/controller/init.go b/app/mix/controller/init.go index 59eac092..42c3a1ce 100644 --- a/app/mix/controller/init.go +++ b/app/mix/controller/init.go @@ -634,7 +634,7 @@ func Init(r *gin.Engine) { 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("update", middleware.JSONParamValidator(frontend_route_proto.OpUpdateReq{}), middleware.JwtAuthenticator(), OpUpdateFrontendRoute) opFrontendRouteGroup.POST("delete", middleware.JSONParamValidator(frontend_route_proto.OpDeleteReq{}), middleware.JwtAuthenticator(), OpDeleteFrontendRoute)