feat: 新增组织维护接口模块,更新登录配置

1. 更新影刀HR登录的测试账号密码
2. 新增common_query加密工具类,实现HR平台查询参数加密逻辑
3. 新增组织维护API接口实现与导出工具
4. 更新HR配置文件,添加组织维护接口常量与参数
5. 更新API导出模块,新增组织数据接口导出支持
This commit is contained in:
2026-09-05 16:14:36 +08:00
parent e5884bd943
commit 8593f0fec4
9 changed files with 1158 additions and 1420 deletions
+2 -2
View File
@@ -67,8 +67,8 @@ def _load_shared_env():
# 直接内置配置:影刀分享出去的脚本找不到 .env,登录参数直接写死
LOGIN_URL = 'https://hr.37du.co/RedseaPlatform/'
SUCCESS_KEYWORD = 'https://hr.37du.co/RedseaPlatform/PtPortal.mc?method=classic'
USERNAME = 'Test01'
PASSWORD = '37du@1234'
USERNAME = '37036273'
PASSWORD = 'Rzzyh17338656069'
# HR 会话校验接口:cookies 有效时返回 JSON,失效时返回登录页等非 JSON
GET_CUR_USER_INFO_URL = "https://hr.37du.co/RedseaPlatform/PtUsers.mc?method=getCurUserInfo"