ly/appsettings.json

33 lines
1.1 KiB
JSON
Raw 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=101.43.201.20;port=3307;database=lyapp;user=root;password=Aa123;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"
},
"Vertify": 5, //登录失败次数
"BatchId": 60, //无人机批次连续时间
"SnowFlakeWordId": 1 //雪花算法的wordId多台服务器时需要配置不同的wordId最多32个节点可以考虑加到环境变量中
}