90 lines
2.3 KiB
JSON
90 lines
2.3 KiB
JSON
{
|
||
"Logging": {
|
||
"LogLevel": {
|
||
"Default": "Information",
|
||
"Microsoft.AspNetCore": "Warning",
|
||
"Microsoft.AspNetCore.Server.Kestrel": "Warning"
|
||
}
|
||
},
|
||
//"Kestrel": {
|
||
// "Endpoints": {
|
||
// "Http": {
|
||
// "Url": "http://*:5200"
|
||
// }
|
||
// //"Https": {
|
||
// // "Url": "https://*:5001"
|
||
// //}
|
||
// }
|
||
//},
|
||
"Cert": {
|
||
//"Path": "D:/Dev/CGames/CGamesServer/CGamesServer.Api/localhost.pfx",
|
||
//"Passsword": "rojek",
|
||
|
||
"Path": "D:/Certs/13276208_sound.xy88.tech_iis/sound.xy88.tech.pfx",
|
||
"Passsword": "jho74cd9"
|
||
},
|
||
//跨域地址(前端启动项目,前后端分离单独部署需要设置),多个用","隔开
|
||
"CorsUrls": [
|
||
"http://localhost:8080",
|
||
"http://localhost:8081",
|
||
"https://admin.fzchenlin.com",
|
||
"http://localhost:8088",
|
||
"http://localhost:7456",
|
||
"http://192.168.3.7:7456",
|
||
"http://xy88.fun",
|
||
"https://xy88.fun"
|
||
],
|
||
"Urls": [
|
||
"https://*:5200"
|
||
],
|
||
//同一游戏服务端的固定标识,用来在garnet中识别不通的服务端
|
||
"ServerToken": "tank1_dev",
|
||
//每局战斗倒计时快到时候剩下的时间,必须小于 FlightTime 单位:秒
|
||
"FlightCollDownTipTime": 10,
|
||
//每局战斗时间,单位:秒
|
||
"FlightTime": 20,
|
||
"RedisOptions": {
|
||
"Host": "127.0.0.1",
|
||
"Port": 5230,
|
||
"Password": "Rojeksoft_123",
|
||
"DBIndex": 0 //不改
|
||
},
|
||
//"微信信息选项",
|
||
"WeChat": {
|
||
|
||
//微信公众平台 AppID
|
||
"AppID": "wx8e94bba6a040fa55",
|
||
|
||
//微信公众平台 微信公众平台 AppSecret
|
||
"AppSecret": "9331585860099ebffb20676ea69fca95",
|
||
|
||
//商户号
|
||
"MchID": "",
|
||
|
||
//商户平台设置的密钥key
|
||
"MchKey": "",
|
||
|
||
//支付完成后微信通知回调页面
|
||
"NotifyUrl": "",
|
||
|
||
//退款完成后微信通知回调页面
|
||
"RefundNotifyUrl": "",
|
||
|
||
//P12证书绝对路径(仅退款、撤销订单时需要)
|
||
"SslCertPath": "",
|
||
|
||
//P12证书密码
|
||
"SslCertPassword": "",
|
||
|
||
//【商户系统后台机器IP】此参数可手动配置也可在程序中自动获取
|
||
"Ip": ""
|
||
},
|
||
"ConnectionStrings": {
|
||
"DBConnStr": "Server=gitea.xy88.fun;Database=tank;Port=3306;charset=utf8mb4;uid=game;pwd=Game_123#;sslmode=none;pooling=true;"
|
||
},
|
||
"Cluster": {
|
||
"MyServer": "serv_0"
|
||
//"Servers": [ "serv_0", "serv_1", "serv_2" ]
|
||
}
|
||
}
|