From d1f7a4ecdb84acaf6a7d986a13a642a337dd31e5 Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期四, 14 十一月 2024 18:17:25 +0800 Subject: [PATCH] 配置组权限 --- app/config/config.py | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/app/config/config.py b/app/config/config.py index 87c05a3..2d7bdf2 100644 --- a/app/config/config.py +++ b/app/config/config.py @@ -8,8 +8,13 @@ sgb_websocket_url: str = '' fwr_base_url: str = '' database_url: str = '' + sgb_db_url: str = '' + fwr_db_url: str = '' + fetch_sgb_agent: str = '' + fetch_fwr_agent: str = '' PUBLIC_KEY: str PRIVATE_KEY: str + def __init__(self, **kwargs): # Check if all required fields are provided and set them for field in self.__annotations__.keys(): -- Gitblit v1.8.0