appsettings.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "Logging": {
  3. "LogLevel": {
  4. "Default": "Information",
  5. "Microsoft": "Warning",
  6. "Microsoft.Hosting.Lifetime": "Information"
  7. }
  8. },
  9. "AllowedHosts": "*",
  10. "TokenKey": "Authorization",
  11. "TokenValue": "123456",
  12. "JwtKeyName": "JwtKeyName",
  13. "JwtSecurityKey": "1CC76841-F25D-4389-89FE-0F9451163CF1",
  14. //Json 存储方式 配置
  15. "DbPath": {
  16. "Project": "/db/Projects.json",
  17. "Tasks": "/db/Tasks.json"
  18. },
  19. //是否使用 Redis 存储 1是 0否 默认使用 json 文件
  20. "UseRedis": "0",
  21. //Redis 存储方式 配置
  22. "RedisDbPath": {
  23. "Project": "IMCS.CCS:Project",
  24. "Tasks": "IMCS.CCS:Tasks"
  25. },
  26. //Redis 连接字符串
  27. "RedisConnectionString": "127.0.0.1:6379,password=123456,defaultDatabase=0",
  28. //数据连接配置
  29. "ConnectionStrings": {
  30. "mysqlContext": "server=localhost;port=3306;database=ccs_300;uid=root;pwd=123456;CharSet=utf8;Allow Zero Datetime=True",
  31. "ecsUrlContext": "http://192.168.3.102:9099/api/authority/taskNode/taskNodeCallback",
  32. //"FTPServer": "192.168.170.25",
  33. //"FTPUser": "PROG",
  34. //"FTPPwd": "abc.1234",
  35. "FTPServer": "127.0.0.1",
  36. "FTPUser": "test",
  37. "FTPPwd": "test",
  38. "fanucUrlContext": "http://localhost:5100/fanuc/",
  39. "opcuacUrlContext": "http://localhost:8010/opcua/",
  40. "hdhUrlContext": "http://localhost:8011/heidenhain/"
  41. }
  42. }