Browse Source

接口权限验证

路佳明 3 months ago
parent
commit
79b1acdedb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/observe/router/biz.go

+ 1 - 1
app/observe/router/biz.go

@@ -15,7 +15,7 @@ func init() {
 
 func registerBizRouter(v1 *gin.RouterGroup, authMiddleware *jwt.GinJWTMiddleware) {
 	api := apis.Biz{}
-	r := v1.Group("/servicegraph").Use(authMiddleware.MiddlewareFunc()).Use(middleware.AuthCheckRole())
+	r := v1.Group("/biz").Use(authMiddleware.MiddlewareFunc()).Use(middleware.AuthCheckRole())
 	// r := v1.Group("/biz")
 	{
 		r.GET("", api.List)