campus-errand/server/appsettings.json
2026-03-14 23:38:46 +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": "wx626fd4a47944e3ea",
"AppSecret": "352b4f8238e43df92d5131ba31e6f33d"
},
"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"
}
}