appsettings.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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_htl;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. "mazakUrlContext": "http://127.0.0.1:9000/DeviceApi/"
  39. }
  40. }