35 lines
879 B
JSON
35 lines
879 B
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"ConnectionStrings": {
|
|
"DefaultConnection": "Server=192.168.195.15;Database=campus_errand;User Id=sa;Password=Dbt@com@123;TrustServerCertificate=True;"
|
|
},
|
|
"Redis": {
|
|
"Configuration": "192.168.195.15:6379,defaultDatabase=9"
|
|
},
|
|
"Jwt": {
|
|
"Secret": "YourSuperSecretKeyForJwtTokenGeneration_AtLeast32Chars!",
|
|
"Issuer": "CampusErrand",
|
|
"Audience": "CampusErrandApp",
|
|
"ExpireMinutes": 10080
|
|
},
|
|
"WeChat": {
|
|
"AppId": "your_wechat_appid",
|
|
"AppSecret": "your_wechat_appsecret"
|
|
},
|
|
"Upload": {
|
|
"Directory": "uploads",
|
|
"MaxFileSizeBytes": 5242880,
|
|
"AllowedExtensions": [ ".jpg", ".jpeg", ".png", ".gif", ".webp" ]
|
|
},
|
|
"Admin": {
|
|
"Username": "admin",
|
|
"Password": "admin123"
|
|
}
|
|
}
|