feat: 授权应用树API返回org_name字段

pull/5183/head
Bai 4 years ago committed by Jiangjie.Bai
parent 2a6f68c7ba
commit 042ea5e137

@ -88,6 +88,9 @@ class SerializeApplicationToTreeNodeMixin:
def _serialize(self, application):
method_name = f'_serialize_{application.category}'
data = getattr(self, method_name)(application)
data.update({
'org_name': application.org_name
})
return data
def serialize_applications(self, applications):

Loading…
Cancel
Save