fix(user): 调整User接口字段

This commit is contained in:
xinwen
2020-08-07 13:53:17 +08:00
committed by 老广
parent 1a9d9e4145
commit ec2b3b4cda
2 changed files with 8 additions and 6 deletions

View File

@@ -161,7 +161,7 @@ class RoleMixin:
role = ROLE.USER
@property
def super_role_display(self):
def role_display(self):
return self.get_role_display()
@property