captcha2: 迁移 captcha.ini 至 CLI args,移除 confs 依赖

- captcha2/src/main.cpp: 移除 fetch_config_from_confs/merge_ini/RpcClient,
  扩展 CLI 至 11 项(--instance/--log-level/--len/--ttl/--font-path/
  --max-store/--rate-limit),配置优先级 CLI > env > 默认值
- core/services.yaml: captcha2 全部 8 项参数迁入 CLI args
- confs/configs/captcha.ini: 已删除
- README.md: 移除 captcha.ini 表行
- _inst.sh: 新增 inst_module captcha2
This commit is contained in:
qing committed 2026-08-10 09:56:41 +00:00
1 parent 3eafc15602
commit 3b6a0fb002
5 files changed
+56 -99

No files matched your search

+1
View File
@@ -42,6 +42,7 @@ inst_module "db2"
inst_module "smtp"
inst_module "smtp3"
inst_module "captcha"
inst_module "captcha2"
inst_module "confs"
inst_module "ai_review" # 需联网拉 chromadb onnx 模型(_fetch_onnx_model.sh 走 ModelScope 镜像)
inst_module "aibox" # 需 ~/.cert/deepseek.key(见 _setenv.sh)