Files
InboundVerify/config.example.yaml
Misaka f4f9f520e1 Document yunda config and remove dead main_task.py
- config.example.yaml: add the yunda section (username/password for
  auto-login, query_days) and list 韵达 as a valid debug target_site
- Delete main_task.py: early single-site (顺心-only) prototype whose
  every function is superseded by main_router.py + site_shunxin.py;
  nothing imports it, and it predates paths.py / multi-site / the
  automation test

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-20 23:35:42 +08:00

51 lines
2.5 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# config.example.yaml
# ============================================================================
# 复制本文件为 config.yaml 并填入真实凭据后使用:
# cp config.example.yaml config.yaml
#
# 说明:
# - config.yaml 已被 .gitignore 忽略,不会提交到仓库,可安全存放凭据。
# - 所有配置项均设有默认值,未填写时会自动回退到默认行为,不会报错。
# ============================================================================
# ----------------------------------------------------------------------------
# 调试模式:用于单网点联调,仅挂载并启动指定网点,其余网点不加载。
# ----------------------------------------------------------------------------
debug:
# 是否启用调试模式true=仅启动 target_site 一个网点false=全量启动所有网点)。
enabled: false
# 调试模式下要单独启动的网点名称。
# 仅在 enabled: true 时生效。可选值:顺心 / 百世 / 中通 / 韵达。
# 留空或不匹配时将回退为全量模式。
target_site: ""
# ----------------------------------------------------------------------------
# 百世快运 (https://v5.800best.com)
# ----------------------------------------------------------------------------
baishi:
# 应到未到数据导出时需要填写的“登录密码”。
# 留空会导致导出授权校验失败,无法下载数据。
password: "YOUR_PASSWORD_HERE"
# ----------------------------------------------------------------------------
# 中通快运 (https://ws.zto56.com/)
# ----------------------------------------------------------------------------
zto:
# 应到货物数据的查询时间范围(单位:天,向前回溯 N 天至今天)。
# 建议保持 1。设置过大且超出日历视窗时会自动降级为仅查询当天。
query_days: 1
# ----------------------------------------------------------------------------
# 韵达快运 (https://ky-sso.yunda56.com)
# ----------------------------------------------------------------------------
yunda:
# 自动登录的账号与密码(由 site_yunda.yunda_login 读取并填入登录表单)。
# 留空时自动登录会填入空串导致登录失败,届时可在浏览器中改为手动登录。
# 真实凭据仅写进被 .gitignore 忽略的 config.yaml切勿提交示例值。
username: "YOUR_USERNAME_HERE"
password: "YOUR_PASSWORD_HERE"
# 应到 / 实到数据的查询时间范围(单位:天,向前回溯 N 天至今天)。
query_days: 1