# ============================================================ # 浠艾福 — 本地外部配置(供 start.sh 使用) # 此文件覆盖 JAR 内置的 application.yml 默认值 # ============================================================ # 适用场景: # - 本地开发: MariaDB 127.0.0.1 # - 生产部署: 远程 MySQL 192.168.16.251 # 切换: 修改 spring.datasource.url / username / password 即可 # ============================================================ server: port: 9082 spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://127.0.0.1:3306/zxyj?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true&createDatabaseIfNotExist=true username: zxyj password: zxyj@123 hikari: maximum-pool-size: 20 minimum-idle: 5 connection-timeout: 30000 idle-timeout: 600000 max-lifetime: 1800000 pool-name: CfcHikariPool # SFMS 数据源(生产按需开启) sfms: datasource: enabled: false driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://192.168.16.251:3305/sfms?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true username: readonly password: readonly # JWT 配置 jwt: secret: cfc-secret-key-2026-spring-boot-jwt-token expiration: 86400000 # 微信配置(生产需填写真实密钥) wechat: appid: wx5ba8038ef16fb245 secret: YOUR_APP_SECRET_HERE mch-id: YOUR_MCH_ID mch-key: YOUR_MCH_KEY api-v3-key: YOUR_API_V3_KEY mch-serial-no: YOUR_MCH_SERIAL_NO private-key-path: /path/to/apiclient_key.pem notify-url: http://111.228.6.214/api/payment/notify login-url: https://api.weixin.qq.com/sns/jscode2session phone-url: https://api.weixin.qq.com/wxa/business/getuserphonenumber test-mode: true test-phone: "13800138000" alert-template-id: ${WECHAT_ALERT_TEMPLATE_ID:} # Dify AI 配置 dify: base-url: http://dify.bianwoyou.cn/v1 api-key: app-rtNSAHG2NFzRsXCGkeZlVNR9 nutrition-api-key: app-OnHzTiI6EULUfLyceCDqJkQu tongue-api-key: "" callback-secret: dify-callback-secret # 运营配置 admin: skip-captcha: true