campus-errand/server/appsettings.json
2026-03-19 00:38:37 +08:00

45 lines
1.2 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": "wxd62aec23fcb79bc6",
"AppSecret": "2b3b9d15fee1ed3e6204d67c86facfaf"
},
"Upload": {
"MaxFileSizeBytes": 5242880,
"AllowedExtensions": [ ".jpg", ".jpeg", ".png", ".gif", ".webp" ]
},
"TencentIM": {
"SDKAppId": 1600132027,
"SecretKey": "321c66ac633842b2f9c318739e58508260930c289c0ea790a2d66b544ac83dfa"
},
"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"
}
}