From ae30d9a75407c912649f11c4f44ff15c869a4f98 Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期四, 21 十一月 2024 15:42:42 +0800 Subject: [PATCH] 自研agent会话保存和查询 --- 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..666eaf2 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[int] = 0 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