小程序可在 Go 上完成微信手机号登录、测评、预约和下单,不再反代 Java。 Co-authored-by: Cursor <cursoragent@cursor.com>
48 lines
1004 B
YAML
48 lines
1004 B
YAML
# Copy to config.local.yaml and fill secrets.
|
|
# config.local.yaml is gitignored (*.local). Never commit real keys.
|
|
|
|
app:
|
|
env: dev
|
|
http_addr: ":8080"
|
|
|
|
database:
|
|
host: 127.0.0.1
|
|
port: 5432
|
|
user: yuxingu
|
|
password: yuxingu
|
|
name: yuxingu
|
|
sslmode: disable
|
|
|
|
deepseek:
|
|
api_key: "" # required for real Ask replies
|
|
base_url: "https://api.deepseek.com"
|
|
model: "deepseek-chat"
|
|
timeout_sec: 60
|
|
|
|
# Ops admin bootstrap (only seeds when admin_accounts is empty)
|
|
admin:
|
|
bootstrap_username: admin
|
|
bootstrap_password: "change-me" # override in config.local.yaml; never commit secrets
|
|
|
|
# Mini-program WeChat login (never commit real secrets)
|
|
wechat:
|
|
app_id: ""
|
|
secret: ""
|
|
|
|
# Legacy Java (ECR-049, unused after ECR-050 native consult)
|
|
java:
|
|
base_url: ""
|
|
internal_key: ""
|
|
|
|
# WeChat JSAPI pay. Empty = mock pay params (dev).
|
|
pay:
|
|
app_id: ""
|
|
mch_id: ""
|
|
api_key: ""
|
|
notify_url: "https://h5.yuxingu.com.cn/psy/api/v1/psychic/pay/notify"
|
|
|
|
# jwt:
|
|
# secret: ""
|
|
# payment:
|
|
# mock: true
|