database: default: name: slogan.db type: sqlite debug: false cache: ttl: 60 server: address: :3007 name: slogan workerId: 1 clientMaxBodySize: 209715200 requestTimeout: 3000 chat: timeout: 300 max_retries: 3 # 和风天气 API Key(v7,免费版) weather: qweather_key: "" qweather_base: "https://devapi.qweather.com" # 高德地理编码 Key geo: amap_key: "" amap_base: "https://restapi.amap.com" # 图像生成供应商配置(空则使用 mock) imagegen: supplier: "mock" # mock | wanx wanx_api_key: "" wanx_model: "wanx-v2" # 大模型配置(OpenAI 兼容,如通义/DeepSeek/Kimi) llm: base_url: "https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions" api_key: "" model_name: "qwen-plus" max_tokens: 4096 temperature: 0.8 # 支付(虎皮棋聚合支付,key 为空则支付功能降级关闭) payment: xunhu_appid: "" xunhu_appsecret: "" notify_url: "http://localhost:3007/member/order/notify" # 生产需公网可达 channel: "alipay,wechat" api_base: "https://api.xunhupay.com" # 广告激励限频(自然日) ad: limit_effect_extra: 2 limit_vip_trial: 1 # 3D 化身预渲染(Node + headless-gl,node_bin 需指向 gl 有预编译二进制的 Node 版本) render: enabled: true node_bin: "/Users/zhangbin/.nvm/versions/node/v18.20.4/bin/node" # CPS 联盟(key 全空则联盟入口优雅降级隐藏) cps: sync_cron: "0 4 * * *" # 联盟商品定时同步 meituan_appkey: "" meituan_secret: "" meituan_pid: "" meituan_base: "https://openapi.meituan.com" jd_appkey: "" jd_secret: "" jd_site_id: "" jd_pid: "" jd_base: "https://api.jd.com/routerjson" tb_appkey: "" tb_secret: "" tb_pid: "" tb_adzone_id: "" tb_base: "https://eco.taobao.com/router/rest"