perf: 修改命令执行区分组织

pull/8096/head
ibuler 3 years ago committed by Jiangjie.Bai
parent b4ac24ad6d
commit e4b0ab6a45

@ -65,7 +65,6 @@ class MyGrantedNodesWithAssetsAsTreeApi(SerializeToTreeNodeMixin, ListAPIView):
all_assets = all_assets.annotate(parent_key=F('nodes__key')).prefetch_related('platform') all_assets = all_assets.annotate(parent_key=F('nodes__key')).prefetch_related('platform')
data.extend(self.serialize_assets(all_assets)) data.extend(self.serialize_assets(all_assets))
@tmp_to_root_org()
def list(self, request: Request, *args, **kwargs): def list(self, request: Request, *args, **kwargs):
""" """
此算法依赖 UserGrantedMappingNode 此算法依赖 UserGrantedMappingNode

Loading…
Cancel
Save