32 lines
778 B
JSON
32 lines
778 B
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"ConnectionStrings": {
|
|
"DefaultConnection": "Server=localhost;Port=3306;Database=campus_errand;User=root;Password=your_password;"
|
|
},
|
|
"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"
|
|
}
|
|
}
|