From e80ffb7f9be04226d2a6ea9566612b06df85e580 Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期三, 13 十一月 2024 17:58:14 +0800 Subject: [PATCH] 参数修改 --- app/models/role_model.py | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/app/models/role_model.py b/app/models/role_model.py index e9b80bf..de18a04 100644 --- a/app/models/role_model.py +++ b/app/models/role_model.py @@ -69,6 +69,8 @@ class RoleData(BaseModel): remark: Optional[str] = "" roleName: str + roleKey: Optional[str] = "" + dataScope: Optional[str] = "" class RoleStatus(BaseModel): @@ -81,3 +83,6 @@ remark: Optional[str] = "" roleName: Optional[str] = "" resources: Optional[list] = [] + roleKey: Optional[str] = "" + dataScope: Optional[int] = 0 + editType: int -- Gitblit v1.8.0