Files
xk-hy-transit-go/.env
2026-05-22 17:23:02 +08:00

25 lines
1.1 KiB
Bash
Raw Permalink 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.
LOG_WEB_ADDR=:8765
# 复制自 .env.example请在 Windows 上填写真实 token 与密码
# XK_API_BASE_URL=https://api.xiaokang88.com
XK_API_BASE_URL=http://127.0.0.1:18001
XK_API_TOKEN=1f88c2fe1c55840414b8e9025ff41c491864f692126e0401efe2f7ceb8713ef7beac450737657c90050a8da861062f66eeb705ca6745a731d81f6161faee5e15
HY_APP_KEY=bq2920250604092032834q7mmkk53a9i
HY_APP_SECRET=1e953ea8b1a6cc5c
HY_AES_KEY=c075f448a05e2cb0
FORWARD_BASE_URL=http://127.0.0.1:16001
MYSQL_DSN="root:root@tcp(127.0.0.1:3306)/xk_hy_transit?parseTime=true&charset=utf8mb4"
ANCHOR_OFFSET_DAYS=1
XK_API_CALLBACK_PATH=/api/hy/transit/batch/callback
CRON_EXPR=0 22 * * *
# CRON_EXPR=*/2 * * * *
# 本地 PDF 落盘根目录(默认:可执行文件所在目录)
# 文件路径:{PDF_SAVE_ROOT}/{YYYY-MM-DD}/{患者姓名} {YYYY-MM-DD HH:mm:ss}.pdf
PDF_SAVE_ROOT="D:/worker/code/xk-hy-transit-go/pdf"
# 与 forward-go FORWARD_SHARED_SECRET 一致(可选;非空时 transit 请求带 X-Forward-Token
FORWARD_SHARED_SECRET=1f88c2fe1c55840414b8e9025ff41c491864f692126e0401efe2f7ceb8713ef7beac450737657c90050a8da861062f66eeb705ca6745a731d81f6161faee5e15