CloudBuilder.Topshelf/appsettings.json
owenchen 6cb3c6118f ow
2026-06-17 15:16:36 +08:00

44 lines
1.7 KiB
JSON

{
"CloudBuilder": {
"Culture": "zh-cn",
"DbContexts": {
"MasterDbContext": {
"DbContextTypeName": "MasterDbContext",
"ConnectionString": "Server=localhost\\SQLEXPRESS;Database=Furion;User=sa;Password=owen123456;MultipleActiveResultSets=True;TrustServerCertificate=true",
"DatabaseType": "SqlServer",
"LazyLoadingProxiesEnabled": true,
"AuditEntityEnabled": true,
"AutoMigrationEnabled": true
}
},
"ServiceRequest": {
"BaseAddress": "http://localhost:5235", //通过Request是需要用户权限及服务器支持
"DefaultRequestHeaders": {
"Accept": "application/json"
}
},
"SecurityUser": {
"UserPassword": "1b457798-6d49-4b37-93a4-a6e105cce84b202cb962ac59075b964b07152d234b70",
"UserMobile": "13560851330"
}
},
"Python": {
"PythonCommand": "D:\\Python38\\python38.dll",
"PythonFile": "D:\\Python38\\hanlp\\hanlp_processor.py",
"surnames_path": "D:/Python38/hanlp/dictionary/surnames.txt",
"titles_path": "D:/Python38/hanlp/dictionary/titles.txt",
"words_path": "D:/Python38/hanlp/dictionary/words.txt",
"salutations_path": "D:/Python38/hanlp/dictionary/salutations.txt",
"interlocutors_path": "D:/Python38/hanlp/dictionary/interlocutors.txt"
},
"Python39": {
"PythonCommand": "F:\\GPT-SoVITS\\GPT-SoVITS-v2pro-20250604\\runtime\\python39.dll",
"PythonHome": "F:\\GPT-SoVITS\\GPT-SoVITS-v2pro-20250604",
"PythonFile": "F:\\GPT-SoVITS\\GPT-SoVITS-v2pro-20250604\\GPT_SoVITS\\sovits.py"
},
"IApplicationService": {
"UserId": "000003" //通过Service是不需要用户权限而直接调用
},
"AllowedHosts": "*"
}