campus-errand/server/bin/Debug/net10.0/appsettings.json
2026-03-14 17:18:33 +08:00

41 lines
1.1 KiB
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": {
"MaxFileSizeBytes": 5242880,
"AllowedExtensions": [ ".jpg", ".jpeg", ".png", ".gif", ".webp" ]
},
"COS": {
"SecretId": "AKIDPioO4YovwtfMrwrYJq8CNN9qT4c0IyQd",
"SecretKey": "1nLfLp44pOxUsKe1AmS8gFoBLH0Vloco",
"Region": "ap-nanjing",
"Bucket": "xypt-1410898760",
"BaseUrl": "https://xypt-1410898760.cos.ap-nanjing.myqcloud.com"
},
"Admin": {
"Username": "admin",
"Password": "admin123"
}
}