refactor: 重构HRBP公共层与业务模块,整理废弃资源

1.  迁移并统一HR会话、配置、API等公共能力至hrbp/common层,实现ehr/oa模块复用
2.  删除captcha_debug调试用图片资源与旧session_manager文件
3.  重构考勤异常处理模块,补充分级逻辑与导出优化
4.  新增OA/HR多套API封装模块与配套文档
5.  移除旧通用接口规划文档,补充完整需求与开发文档
This commit is contained in:
2026-08-14 15:48:15 +08:00
parent 3a8571d995
commit 831845f970
57 changed files with 4276 additions and 1905 deletions
+2 -1
View File
@@ -10,8 +10,9 @@
# ---------- OA 系统 ----------
# 待办列表等后台接口在 oa 域名;流程引擎/表单/考勤等 RedseaPlatform 接口在 hr 域名
from app.service.hrbp.common.config import HR_BASE_URL # noqa: E402
BASE_URL = "https://oa.37du.co"
HR_BASE_URL = "https://hr.37du.co"
# 待办列表接口(oa 域名):按标题关键字查询当前账号的待办单据,用于抓取请假/加班等待审批流程
TODO_LIST_URL = f"{BASE_URL}/sys/notify/sys_notify_todo/sysNotifyMainIndex.do"
# 待办类型编码:"13" 对应需人工处理的审批类待办