|
@@ -18,7 +18,7 @@ spring:
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
url: jdbc:mysql://mysql-internet-cn-north-1-23feae22680e4dfa.rds.jdcloud.com:3306/zxyj?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true&createDatabaseIfNotExist=true
|
|
url: jdbc:mysql://mysql-internet-cn-north-1-23feae22680e4dfa.rds.jdcloud.com:3306/zxyj?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true&createDatabaseIfNotExist=true
|
|
|
username: cfc
|
|
username: cfc
|
|
|
- password: cfc@1314
|
|
|
|
|
|
|
+ password: ${DB_PASSWORD:cfc@1314}
|
|
|
hikari:
|
|
hikari:
|
|
|
maximum-pool-size: 50
|
|
maximum-pool-size: 50
|
|
|
minimum-idle: 10
|
|
minimum-idle: 10
|
|
@@ -33,14 +33,14 @@ sfms:
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
url: jdbc:mysql://mysql-internet-cn-north-1-23feae22680e4dfa.rds.jdcloud.com:3306/zxyj?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true&createDatabaseIfNotExist=true
|
|
url: jdbc:mysql://mysql-internet-cn-north-1-23feae22680e4dfa.rds.jdcloud.com:3306/zxyj?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true&createDatabaseIfNotExist=true
|
|
|
username: cfc
|
|
username: cfc
|
|
|
- password: cfc@1314
|
|
|
|
|
|
|
+ password: ${DB_PASSWORD:cfc@1314}
|
|
|
|
|
|
|
|
mybatis-plus:
|
|
mybatis-plus:
|
|
|
mapper-locations: classpath*:/mapper/**/*.xml
|
|
mapper-locations: classpath*:/mapper/**/*.xml
|
|
|
type-aliases-package: com.etotem.cfc.entity
|
|
type-aliases-package: com.etotem.cfc.entity
|
|
|
configuration:
|
|
configuration:
|
|
|
map-underscore-to-camel-case: true
|
|
map-underscore-to-camel-case: true
|
|
|
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
|
|
|
+ log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
|
|
|
global-config:
|
|
global-config:
|
|
|
db-config:
|
|
db-config:
|
|
|
id-type: auto
|
|
id-type: auto
|
|
@@ -49,7 +49,7 @@ mybatis-plus:
|
|
|
logic-not-delete-value: 0
|
|
logic-not-delete-value: 0
|
|
|
|
|
|
|
|
jwt:
|
|
jwt:
|
|
|
- secret: cfc-secret-key-2026-spring-boot-jwt-token
|
|
|
|
|
|
|
+ secret: ${JWT_SECRET:cfc-dev-only-jwt-secret-2026}
|
|
|
expiration: 86400000
|
|
expiration: 86400000
|
|
|
|
|
|
|
|
zkxz:
|
|
zkxz:
|
|
@@ -66,10 +66,10 @@ zkxz:
|
|
|
|
|
|
|
|
wechat:
|
|
wechat:
|
|
|
appid: wx5ba8038ef16fb245
|
|
appid: wx5ba8038ef16fb245
|
|
|
- secret: 3dae525c6f5e010cc034f59abbd1b1cc
|
|
|
|
|
|
|
+ secret: ${WECHAT_SECRET:dev-only-wechat-secret}
|
|
|
mch-id: 1703255039
|
|
mch-id: 1703255039
|
|
|
- mch-key: wx5ba8038ef16fb245wx5ba8038ef16f
|
|
|
|
|
- api-v3-key: wx5ba8038ef16fb245wx5ba8038ef16f
|
|
|
|
|
|
|
+ mch-key: ${WECHAT_MCH_KEY:dev-only-mch-key}
|
|
|
|
|
+ api-v3-key: ${WECHAT_API_V3_KEY:dev-only-api-v3-key}
|
|
|
mch-serial-no: 53C2A906094D725BC350A3414AADCA6D79882AAF
|
|
mch-serial-no: 53C2A906094D725BC350A3414AADCA6D79882AAF
|
|
|
private-key-path: cert/apiclient_key.pem
|
|
private-key-path: cert/apiclient_key.pem
|
|
|
notify-url: http://cfc.bianwoyou.com.cn/api/payment/notify
|
|
notify-url: http://cfc.bianwoyou.com.cn/api/payment/notify
|
|
@@ -88,11 +88,11 @@ wechat:
|
|
|
env-version: ${WECHAT_ENV_VERSION:release}
|
|
env-version: ${WECHAT_ENV_VERSION:release}
|
|
|
|
|
|
|
|
dify:
|
|
dify:
|
|
|
- base-url: http://dify.bianwoyou.cn/v1
|
|
|
|
|
- api-key: app-rtNSAHG2NFzRsXCGkeZlVNR9
|
|
|
|
|
- nutrition-api-key: app-OnHzTiI6EULUfLyceCDqJkQu # 精准营养助手
|
|
|
|
|
|
|
+ base-url: ${DIFY_BASE_URL:http://dify.bianwoyou.cn/v1}
|
|
|
|
|
+ api-key: ${DIFY_API_KEY:app-dev-only-key}
|
|
|
|
|
+ nutrition-api-key: ${DIFY_NUTRITION_API_KEY:app-dev-only-nutrition-key}
|
|
|
tongue-api-key: "" # 舌诊分析,空字符串=mock模式
|
|
tongue-api-key: "" # 舌诊分析,空字符串=mock模式
|
|
|
- callback-secret: dify-callback-secret # Dify Workflow HTTP回调认证密钥
|
|
|
|
|
|
|
+ callback-secret: ${DIFY_CALLBACK_SECRET:dev-only-callback-secret}
|
|
|
|
|
|
|
|
python:
|
|
python:
|
|
|
enabled: true
|
|
enabled: true
|
|
@@ -114,7 +114,7 @@ math:
|
|
|
|
|
|
|
|
upload:
|
|
upload:
|
|
|
base-dir: /data/cfc-uploads
|
|
base-dir: /data/cfc-uploads
|
|
|
- allowed-types: image/jpeg,image/png,image/gif,image/webp
|
|
|
|
|
|
|
+ allowed-types: image/jpeg,image/png,image/gif,image/webp,application/pdf
|
|
|
|
|
|
|
|
shop:
|
|
shop:
|
|
|
order:
|
|
order:
|