restore: 恢复 11-06~11-09 本地未提交改动
- libs: 新增 hr_sdk / hotel_report / dingtalk,更新 desktopauto - controlplane-next: SDK 管理模块(controller/entity/migrations)与前端视图 - electron-shell: 插件同步、注册表、runner 调整 - plugins: XQ0035/XQ0041/XQ0042/XQ0045_XQ0046/XQ0048/XQ0076/XQ0078 等版本更新 - tests/tools: 新增 SDK 兼容性检查与打包工具(sdk_pack.py、sdk_compat_check.py)
This commit is contained in:
@@ -28,13 +28,6 @@ SAVE_TOKEN = True # 登录成功后把 token 落到临时文件,便于后
|
||||
VERIFY_TOKEN = True # 登录成功后调用一次 userInfo 验证 token 是否可用
|
||||
# ===============================================
|
||||
|
||||
# 账号密码也可以写在同目录 account.json({"account": "...", "password": "..."})
|
||||
_ACC_FILE = os.path.join(os.path.dirname(os.path.abspath(__file__)), "account.json")
|
||||
if os.path.exists(_ACC_FILE):
|
||||
_acc = json.load(open(_ACC_FILE, encoding="utf-8"))
|
||||
ACCOUNT = ACCOUNT or _acc.get("account", "")
|
||||
PASSWORD = PASSWORD or _acc.get("password", "")
|
||||
|
||||
BASE = "https://user.lotsmall.cn"
|
||||
TIMEOUT = 15
|
||||
RSA_PUBLIC_KEY = (
|
||||
|
||||
Reference in New Issue
Block a user