hospital-open-api/config.yaml

75 lines
2.1 KiB
YAML

port: 8298 # 启动端口
env: dev # 环境配置
snowflake: 2 # 雪花算法机器id
# [数据库配置]
mysql:
host: '42.193.16.243'
username: root
password: 'gdxz123456^%$d'
port: 30001
db-name: internet_hospital
max-idle-cons: 5
max-open-cons: 20
debug: true
log:
file-path: "./log/"
# file-path: "/var/log/dev-hospital-open-api/"
file-name: "dev-hospital-open-api.log"
# [redis]
redis:
host: '139.155.127.177'
port: 30002
password: gdxz2022&dj.
pool-size: 100
# [jwt]
jwt:
sign-key: 123456 # 私钥
ttl : 72 # 过期时间 小时
algo : HS256 # 加密方式
oss:
oss-access-key: LTAI5tKmFrVCghcxX7yHyGhm
oss-access-key-secret: q1aiIZCJJuf92YbKk2cSXnPES4zx26
oss-bucket: gdxz-hospital
oss-endpoint: oss-cn-chengdu.aliyuncs.com
oss-custom-domain-name: https://img.applets.igandanyiyuan.com
ca-online:
ca-online-app-id: SCCA1646691325903052802
ca-online-app-secret: adf718ebc1fb4bb7b158de9117d1313a
ca-online-api-url: http://testmicrosrv.scca.com.cn:9527
# [腾讯im]
im:
im-app-id: 1400798221
im-secret: fc45ab469ca632a700166973d87b3a6f56a855cb92d7cffb54e4d37135c097da
im-base-url: https://console.tim.qq.com/
im-token: NDc5MzExMDMxMDY2NDMxNDg5L
# [阿里大鱼短信]
dysms:
dysms-access-key: LTAI4GGygjsKhyBwvvC3CghV
dysms-access-secret: rcx7lO9kQxG10m8NqNPEfEtT9IS8EI
# [微信]
wechat:
patient-app-id: wx70a196902e0841b6
patient-app-secret: 2671d2f4285180ddec5a5a2b16ed50f2
patient-inquiry-pay-notify-url: callback/wxpay/inquiry/success
patient-inquiry-refund-notify-url: callback/wxpay/inquiry/refund
patient-product-pay-notify-url: callback/wxpay/product/success
patient-product-refund-notify-url: callback/wxpay/product/refund
patient-detection-pay-notify-url: callback/wxpay/detection/success
patient-detection-refund-notify-url: callback/wxpay/detection/refund
refund-notify-domain: https://dev.hospital.applets.igandanyiyuan.com/
doctor-app-id: wxc83296720404aa7b
doctor-app-secret: 817665d3763637fe66d56548f8484622
mch-id: 1636644248
v3-api-secret: gdxz292sjSOadN3m2pCda03NfCsmNadY
mch-certificate-serial-number: 7DEC0E6C57E0DC71F077F02F52406566AF39BEBB