添加获取所有分类以及分类按层级显示的逻辑
This commit is contained in:
1 parent
fc259ba274
commit
e42a4549e9
4 files changed
+60
-6
No files matched your search
@@ -24,4 +24,8 @@ func registerCategoryRouter(v1 *gin.RouterGroup, authMiddleware *jwt.GinJWTMiddl
|
||||
r.PUT("/:id", actions.PermissionAction(), api.Update)
|
||||
r.DELETE("", api.Delete)
|
||||
}
|
||||
f := v1.Group("/fe/category")
|
||||
{
|
||||
f.GET("", api.GetPageAll)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user