perf: 授权类型树 (#10390)

Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
fit2bot
2023-05-11 10:15:40 +08:00
committed by GitHub
parent b98aa377b6
commit f06059837d
5 changed files with 125 additions and 19 deletions

View File

@@ -37,6 +37,9 @@ user_permission_urlpatterns = [
path('<str:user>/nodes/children-with-assets/tree/',
api.UserPermedNodeChildrenWithAssetsAsTreeApi.as_view(),
name='user-node-children-with-assets-as-tree'),
path('<str:user>/nodes/children-with-assets/category/tree/',
api.UserPermedNodeChildrenWithAssetsAsCategoryTreeApi.as_view(),
name='user-node-children-with-assets-as-category-tree'),
# 同步树
path('<str:user>/nodes/all-with-assets/tree/',
api.UserPermedNodesWithAssetsAsTreeApi.as_view(),