appsettings.json 999 B

1234567891011121314151617181920212223242526272829
  1. {
  2. "RunType": "cs", //ws(WindowsService)、cs(ConsoleService)、ls(LinuxService)
  3. "RunLog": {
  4. "ApiLog": true //系统全局日志
  5. },
  6. "ConnectionStrings": {
  7. "Ciphertext": false, //密文
  8. "Default": {
  9. "ProviderName": "Oracle",
  10. "ConnectionString": "DATA SOURCE=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.50)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)));USER ID=KJGH;Password=KJGH"
  11. },
  12. //"Default": {
  13. // "ProviderName": "PostgreSQL",
  14. // "ConnectionString": "HOST=192.168.1.8;Port=5432;Database=btkjgh;User Id=kjgh;Password=kjgh;"
  15. //}
  16. },
  17. "Gis": {
  18. "Encoding": "UTF-8"
  19. },
  20. "File": {
  21. "ImageZip": "300/0;40/1", //上传图片压缩=宽/(0:PX,1:%)
  22. "PdfExe": "OfficeToPdf\\OfficeToPdf.exe"
  23. },
  24. "Path": {
  25. "Root": "E:\\00.QMHS\\QMHS.P008KJGH.YL\\Publish\\0.files",
  26. "PyExe": "C:\\Python27\\ArcGIS10.8\\python.exe",
  27. "PythonFile": "E:\\00.QMHS\\QMHS.P008KJGH.YL\\SVN\\trunk\\SoureCode\\2.Api\\QM.KJGH.Com\\QM.GisPython\\main.py"
  28. }
  29. }