diff --git a/apps/perms/urls/asset_permission.py b/apps/perms/urls/asset_permission.py index de441bbfc..f7e10e0fc 100644 --- a/apps/perms/urls/asset_permission.py +++ b/apps/perms/urls/asset_permission.py @@ -21,7 +21,7 @@ user_permission_urlpatterns = [ # --------------------------------------------------------- # 以 serializer 格式返回 path('/assets/', api.UserAllGrantedAssetsApi.as_view(), name='user-assets'), - path('assets/', api.MyAllAssetsAsTreeApi.as_view(), name='my-assets'), + path('assets/', api.MyAllGrantedAssetsApi.as_view(), name='my-assets'), # Tree Node 的数据格式返回 path('/assets/tree/', api.UserDirectGrantedAssetsAsTreeForAdminApi.as_view(), name='user-assets-as-tree'),