refactor(backend): 后端重构初步设想
This commit is contained in:
1 parent
b69d549b2c
commit
21b8c24815
96 files changed
+1592
No files matched your search
@@ -0,0 +1,6 @@
|
||||
"""
|
||||
backend/app/services/integrations/__init__.py
|
||||
|
||||
用途:外部系统纯适配层(Dify、OA、PLM、WeCom、MinIO)。
|
||||
逻辑:Wave 4 从 services 根目录迁入;禁止领域编排。
|
||||
"""
|
||||
@@ -0,0 +1,9 @@
|
||||
"""
|
||||
backend/app/services/integrations/dify.py
|
||||
|
||||
用途:Dify API 客户端(流式、上传、workflow)。
|
||||
逻辑:Wave 4 自 app/services/dify.py 迁入。
|
||||
"""
|
||||
from app.services import dify # noqa: F401
|
||||
|
||||
__all__ = ['dify']
|
||||
@@ -0,0 +1,8 @@
|
||||
"""
|
||||
backend/app/services/integrations/integration_api.py
|
||||
|
||||
用途:知识库源文件反查等集成 API 适配。
|
||||
"""
|
||||
from app.services import integration_api # noqa: F401
|
||||
|
||||
__all__ = ['integration_api']
|
||||
@@ -0,0 +1,8 @@
|
||||
"""
|
||||
backend/app/services/integrations/minio.py
|
||||
|
||||
用途:MinIO 对象存储适配。
|
||||
"""
|
||||
from app.services import minio_service # noqa: F401
|
||||
|
||||
__all__ = ['minio_service']
|
||||
@@ -0,0 +1,6 @@
|
||||
"""
|
||||
backend/app/services/integrations/oa/__init__.py
|
||||
|
||||
用途:OA 系统适配(SQL Server、请假 SOAP、企微同步)。
|
||||
逻辑:Wave 4 自 oa_sqlserver、oa_leave_workflow、oa_wecom_sync 迁入。
|
||||
"""
|
||||
@@ -0,0 +1,2 @@
|
||||
"""OA 请假 Workflow SOAP 适配(Wave 4 自 oa_leave_workflow.py 迁入)。"""
|
||||
from app.services import oa_leave_workflow # noqa: F401
|
||||
@@ -0,0 +1,2 @@
|
||||
"""OA SQL Server 适配(Wave 4 自 oa_sqlserver.py 迁入)。"""
|
||||
from app.services import oa_sqlserver # noqa: F401
|
||||
@@ -0,0 +1,2 @@
|
||||
"""OA 与企微同步适配(Wave 4 自 oa_wecom_sync.py 迁入)。"""
|
||||
from app.services import oa_wecom_sync # noqa: F401
|
||||
@@ -0,0 +1,5 @@
|
||||
"""
|
||||
backend/app/services/integrations/plm/__init__.py
|
||||
|
||||
用途:PLM Oracle 适配。
|
||||
"""
|
||||
@@ -0,0 +1,2 @@
|
||||
"""PLM Oracle 流式查询适配(Wave 4 自 plm_oracle.py 迁入)。"""
|
||||
from app.services import plm_oracle # noqa: F401
|
||||
@@ -0,0 +1,8 @@
|
||||
"""
|
||||
backend/app/services/integrations/text2sql.py
|
||||
|
||||
用途:ERP 知识库 Text2SQL 流式服务。
|
||||
"""
|
||||
from app.services import text2sql # noqa: F401
|
||||
|
||||
__all__ = ['text2sql']
|
||||
@@ -0,0 +1,5 @@
|
||||
"""
|
||||
backend/app/services/integrations/wecom/__init__.py
|
||||
|
||||
用途:企业微信 SDK 适配(通知、通讯录、加解密)。
|
||||
"""
|
||||
@@ -0,0 +1,2 @@
|
||||
"""企微回调加解密(Wave 4 自 wecom_crypto.py 迁入)。"""
|
||||
from app.services import wecom_crypto # noqa: F401
|
||||
@@ -0,0 +1,2 @@
|
||||
"""企微通讯录同步(Wave 4 自 wecom_directory_sync.py 迁入)。"""
|
||||
from app.services import wecom_directory_sync # noqa: F401
|
||||
@@ -0,0 +1,2 @@
|
||||
"""企微消息通知(Wave 4 自 wecom_notify.py 迁入)。"""
|
||||
from app.services import wecom_notify # noqa: F401
|
||||
Reference in new issue
Block a user