mh_server/pack/configs/dev/server.json
2023-09-12 19:04:47 +08:00

65 lines
1.7 KiB
JSON

{
"server": {
"port": 8001
},
"jwt": {
"user": {
"access_key": "oOqYrhCNQRvVNAaEo4h4osoW",
"refresh_key": "oOqYrhCadQRvVNAaEo4h4osW",
"access_expire": 259200,
"refresh_expire": 360000
},
"admin": {
"access_key": "oOqYrhCcQRvVNAaEo4h4osoW",
"refresh_key": "oOqYahCadQRvVNAaEo4h4osW",
"access_expire": 3600,
"refresh_expire": 129600
}
},
"log": {
"path": "log_server",
"file": "server",
"level": 0
},
"db": {
"driver": "mysql",
"host": "39.108.188.218",
"port": 3306,
"user": "mh_dev",
"password": "m5h4parZsXjbeiFh",
"db_name": "mh_dev"
},
"wx": {
"app_id": "wx806c079463b5b56c",
"app_secret": "cb125688bf4e482f66e8c46062d568fc",
"app_mchId": "1609877389",
"app_mchSecret": "DeovoMingHuiRengTianTang45675456"
},
"app": {
"app_id": "wx806c079463b5b56c",
"app_secret": "cb125688bf4e482f66e8c46062d568fc",
"app_mchId": "1609877389",
"app_mchSecret": "DeovoMingHuiRengTianTang45675456"
},
"wx_pay": {
"callback_url": "https://switch.deovo.com:8001/api/v1/wxpay_refund/notice",
"cert_file":"/Users/li/mh/mh_server/pack/configs/merchant/apiclient_cert.p12",
"key_file":"/Users/li/mh/mh_server/pack/configs/merchant/apiclient_key.pem",
"root_ca_file":"/Users/li/mh/mh_server/pack/configs/merchant/apiclient_cert.pem"
},
"ali_pay": {
"callback_url": ""
},
"sms": {
"access_key_id": "LTAI5atZsVv9y2MJ",
"access_key_secret": "shFlHKZDZshcAHJpwMYFojfoD7pQiX",
"sign_name": "明慧",
"template_code": "SMS_167675071"
},
"redis": {
"host": "127.0.0.1",
"port": 6379,
"password": "",
"db": 100
}
}