ly/appsettings.json

36 lines
1.3 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"log2db": true, //是否记录
"AllowedHosts": "*",
"ConnectionStrings": {
"DefaultConnection": "server=114.66.57.139;port=13306;database=lyapp;user=root;password=dklymysql;Pooling=true;"
},
"Token": {
"SecretKey": "HWLSNPM+OhlFe4wwEV/teSWsxGjrWbxKnHonxW5Z+mFlQq3zonv5",
"Issuer": "ly_server_issuer",
"Audience": "ly_server_audience",
"AccessExpires": 86400,
"RefreshExpires": 43200,
"Admin": "GYJlKgVaHPThTGvw8iB9n/SQiApYPiVaisHHzs9z47eBI3TxseU7WYihNRLGTMcekVfgtcaD05r+hdOTpA0obMlMpb0I6lVFtaw2iUGXqpwleqtBOy5ajlE/cG3THTDUhkYJTwpAYt3mwPnvFc2gVskVUpzA3g9n33jHKhQQyIM="
},
"Swagger": {
"Title": "LY.App-Api",
"Description": "接口文档",
"Version": "v1.0"
},
"Redis": {
"ConnectionString": "101.43.201.20:6379,password=Aa123,abortConnect =false"
},
"Weather": "https://weather.cma.cn/api/now/54511", //天气预报地址,中国气象
"Vertify": 5, //登录失败次数
"BatchId": 60, //无人机批次连续时间,如果超过这个时间,则变成下一个批次
"MaxDistance": 3000, //最大距离,如果超过这个距离,探测到的无人机数据会被丢弃 单位:米
"SnowFlakeWordId": 1 //雪花算法的wordId多台服务器时需要配置不同的wordId
}