From fdbd37eb2516b67ca41b0b71b738e3368e2825fe Mon Sep 17 00:00:00 2001 From: xuyonghao <898441624@qq.com> Date: 星期五, 27 十二月 2024 11:33:47 +0800 Subject: [PATCH] 用户所属部门与角色所属部门过滤 --- app/config/const.py | 33 +++++++++++++++++++++++++++++++-- 1 files changed, 31 insertions(+), 2 deletions(-) diff --git a/app/config/const.py b/app/config/const.py index 007e8e4..6165148 100644 --- a/app/config/const.py +++ b/app/config/const.py @@ -3,9 +3,38 @@ DOCUMENT_TO_CLEANING = "document_to_cleaning" DOCUMENT_TO_REPORT = "document_to_report" IMAGE_TO_TEXT = "image_and_text_conversion" - +DOCUMENT_IA_QUESTIONS = "document_ia_questions" +ENV_CONF_PATH = "app/config/env_conf" +APP_SERVICE_PATH = "app/service/" ### -----------app register -------------- RAGFLOW = "ragflow_app" BISHENG = "bisheng_app" -DIFY = "dify_app" \ No newline at end of file +DIFY = "dify_app" + +### ---------------app type----------------- +BASIC_ID = 3 +RAGFLOW_ID = 1 +BISHENG_ID = 2 +DIFY_ID = 4 + +### ------------------status-------------------- +USER_STATSU_DELETE = "2" +USER_STATSU_ON = "1" +USER_STATSU_OFF = "0" + +Dialog_STATSU_DELETE = "2" +Dialog_STATSU_ON = "1" +Dialog_STATSU_OFF = "0" + +DEPT_STATUS_DELETE = "2" +DEPT_STATUS_ON = "1" +DEPT_STATUS_OFF = "0" + +ROLE_STATUS_DELETE = "2" +ROLE_STATUS_ON = "1" +ROLE_STATUS_OFF = "0" + +RESOURCE_STATUS_DELETE = "2" +RESOURCE_STATUS_ON = "1" +RESOURCE_STATUS_OFF = "0" \ No newline at end of file -- Gitblit v1.8.0