120 lines
3.8 KiB
YAML
120 lines
3.8 KiB
YAML
port: 8198 # 启动端口
|
|
|
|
env: dev # 环境配置
|
|
|
|
snowflake: 1 # 雪花算法机器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
|
|
# host: 'cd-cdb-evnp3feu.sql.tencentcdb.com'
|
|
# username: root
|
|
# password: 'sKptsVOiTf6m3lt_'
|
|
# port: 63976
|
|
# db-name: export
|
|
# max-idle-cons: 5
|
|
# max-open-cons: 20
|
|
# debug: true
|
|
|
|
log:
|
|
file-path: "./log/"
|
|
# file-path: "/var/log/dev-hospital-admin-api/"
|
|
file-name: "dev-hospital-admin-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
|
|
im:
|
|
im-app-id: 1600027911
|
|
im-secret: 8ebf5bc8557a18019f94ed1cae4fd1d78e77aedcfdf804e56c5478057b9cb93c
|
|
im-base-url: https://console.tim.qq.com/
|
|
im-token: NDc5MzExMDIYdusl2NDMxNDg5L
|
|
|
|
# [阿里大鱼短信]
|
|
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
|
|
patient-service-pay-notify-url: callback/wxpay/service/success
|
|
patient-service-refund-notify-url: callback/wxpay/service/refund
|
|
refund-notify-domain: https://dev.hospital.applets.igandanyiyuan.com/
|
|
doctor-app-id: wxc83296720404aa7b
|
|
doctor-app-secret: 817665d3763637fe66d56548f8484622
|
|
pay-1636644248:
|
|
mch-id: 1636644248
|
|
v3-api-secret: gdxz292sjSOadN3m2pCda03NfCsmNadY
|
|
mch-certificate-serial-number: 7DEC0E6C57E0DC71F077F02F52406566AF39BEBB
|
|
platform-certs: extend/weChat/certs/1659662936/wechatpay_112FCCD1B9ECC8292703AB7363C73D74B6AFDC1A.pem
|
|
private-key: extend/weChat/certs/1636644248/apiclient_key.pem
|
|
certificate: extend/weChat/certs/1636644248/apiclient_cert.pem
|
|
pay-1659662936:
|
|
mch-id: 1659662936
|
|
v3-api-secret: gdxz292sjSOadNNad2pCda03NfC2msmY
|
|
mch-certificate-serial-number: 12FAA5F61708B795BB5337AE915494E2DC2CA87B
|
|
platform-certs: extend/weChat/certs/1659662936/wechatpay_5B5C8A69CC86D1127F6B6AA06AAAF10531EEFE90.pem
|
|
private-key: extend/weChat/certs/1659662936/apiclient_key.pem
|
|
certificate: extend/weChat/certs/1659662936/apiclient_cert.pem
|
|
|
|
# [处方平台]
|
|
pre:
|
|
# pre-plat-client-id: ZD-004
|
|
# pre-plat-client-secret: 0baa5927164710b9f800bf33546b6da3
|
|
# pre-plat-app-url: http://49.233.3.200:6304/api/thridapi/
|
|
# pre-plat-pharmacy-code: JG-10009
|
|
pre-plat-client-id: ZD-021
|
|
pre-plat-client-secret: 4sdjas2387sjdasjhdas289
|
|
pre-plat-app-url: http://cf-thirdapi-test.yctang.net/api/thridapi/
|
|
pre-plat-pharmacy-code: ZD-10198
|
|
|
|
# [rabbitMq]
|
|
amqp:
|
|
host: 127.0.0.1
|
|
port: 5672
|
|
user: gdxz_2022rabbitmq
|
|
password: qwr2p&¥e@3.2p
|
|
vhost: gdxz_2022rabbitmq |