63 lines
1.7 KiB
JSON
63 lines
1.7 KiB
JSON
{
|
|
"DatabaseProvider": "SqlServer",
|
|
"Database": {
|
|
"AutoCreateMissingTables": true
|
|
},
|
|
"ConnectionStrings": {
|
|
"SqlServer": "Server=localhost;Database=EduCloudDocPrint2;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": "/data/upload/",
|
|
"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"
|
|
]
|
|
}
|
|
}
|