Files
DocprintService/src/YhCore.WebApi/appsettings.json
T
wanghu 4211b72041
build / build-push (push) Successful in 1m24s
Config.FilePath
2026-09-09 16:04:46 +08:00

63 lines
1.7 KiB
JSON

{
"DatabaseProvider": "SqlServer",
"Database": {
"AutoCreateMissingTables": true
},
"ConnectionStrings": {
"SqlServer": "Server=localhost;Database=EduCloudDocPrint;User Id=sa;Password=Password01!;MultipleActiveResultSets=true",
"Mysql": "Server=localhost;Port=3306;Database=EduCloudDocPrint;User Id=root;Password=123123;CharSet=utf8mb4"
},
"Redis": {
"ConnectionString": "localhost:6379,defaultDatabase=0"
},
"FILE_PATH": "",
"FILE_WEB_PATH": "",
"wkhtmltopdf_path": "",
"yh": {
"auth": {
"Enabled": true,
"CookieExpireMinutes": 120,
"cookieName": ".yh.auth",
"DebugUserEnabled": true
},
"sso": {
"Enabled": true,
"CasServerUrlPrefix": "http://sso.yunhaixingtong.com",
"AppBaseUrl": "http://localhost:51835",
"SignInCallbackPath": "/api/base/GetUserInfo",
"TicketValidateTimeoutMs": 10000,
"UrlPattern": "/api/*",
"MobiApiPattern": "/mobiapi/*"
},
"app-auth": {
"Enabled": true,
"AppKey": "100002",
"AppSecret": "2314a3b158b24a838b2b9b69fd3db118",
"ExpireMs": 300000
},
"open": {
"Enabled": true,
"BaseHost": "http://base.yunhaixingtong.com",
"BasePath": "/userbase",
"SchClassPath": "/userclass",
"AppKey": "100002",
"AppSecret": "2314a3b158b24a838b2b9b69fd3db118"
}
},
"Logging": {
"LogLevel": {
"Default": "None",
"Microsoft": "None",
"Microsoft.Hosting.Lifetime": "None",
"Microsoft.AspNetCore.Authentication": "Information"
}
},
"AllowedHosts": "*",
"Cors": {
"Origins": [
"http://localhost:51835",
"http://localhost:8103"
]
}
}