campus-errand/server.tests/bin/Debug/net10.0/appsettings.json
2026-03-12 18:12:10 +08:00

32 lines
787 B
JSON

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"DefaultConnection": "Server=localhost;Database=campus_errand;Trusted_Connection=True;TrustServerCertificate=True;"
},
"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"
}
}