app.ini 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. [app]
  2. PageSize = 10
  3. JwtSecret = 111111
  4. FileSavePath=uploads/files/
  5. FileMaxSize = 1000000
  6. FileAllowType = .jpg, .jpeg, .png, .ico, .svg, .bmp, .gif, .doc, .docx, .ppt, .pptx, .xls, .xlsx, .pdf, .mp3, .txt
  7. ImageSavePath=uploads/image/
  8. ExportSavePath=uploads/exportfiles/
  9. ImageMaxSize = 10
  10. ThumbnailSavePath=uploads/thumbnail/
  11. ThumbnailMaxWidth=800
  12. ThumbnailMaxHeight=800
  13. LogSavePath = logs/
  14. LogSaveName = log
  15. LogFileExt = log
  16. TimeFormat = 20060102-150405
  17. [server]
  18. #debug or release
  19. #RunMode = debuggit
  20. RunMode = release
  21. HttpPort = 8082
  22. ReadTimeout = 60
  23. WriteTimeout = 60
  24. NoAuth = 1
  25. Mdns_servicename = TMRWATCH
  26. Mdns_serviceport = 5354
  27. # 0 http 1 https 2 http & https 不填 http
  28. Https = 2
  29. HttpsPort = 443
  30. CrtPath = conf/ssl.crt
  31. KeyPath = conf/ssl.key
  32. # 服务
  33. ServerName = tmrgo
  34. DisplayName = tmrgo
  35. Description = tmrgo
  36. UDForwardingSvc = "http://127.0.0.1"
  37. # 对接
  38. GRFD = 1
  39. #GRFDURL = http://120.48.30.31:88
  40. GRFDURL = http://172.16.40.20:10001
  41. [database]
  42. Type = mysql
  43. User = root
  44. #Password = root
  45. #Password = kepaiteng!QAZ
  46. #Host = 8.130.17.8:3306
  47. #Host = 192.168.1.93:3326
  48. Host = 127.0.0.1:3316
  49. Name = root
  50. Password = root
  51. #Password = root
  52. #Password = kptzhu@163.com
  53. #Host = 192.168.1.50:3326
  54. #Password = root123456
  55. #Password = keep
  56. #Host=210.16.187.191:3306
  57. #Password = kpt123456*
  58. #Password = kepaiteng!QAZ
  59. #Host = 47.92.52.73:3306
  60. #Host = 127.0.0.1:3306
  61. #Host = 210.16.186.252:3326
  62. #Password = kptzhu@163.com
  63. #Host = 210.16.186.252:3326
  64. #Host = 127.0.0.1:3309
  65. #Name = equipment
  66. #Name = eqdev
  67. #Name = eq0422
  68. #Name = tmrgo
  69. #Password = kepaiteng!QAZ
  70. #Host = 222.73.129.15:31306
  71. Name = tmrwatch2
  72. TablePrefix =
  73. ShowXormlog = false
  74. ShowGetSqllog = false
  75. CacheApiSql = false
  76. [sqlserver]
  77. #Host = "sqlserver://sa:Password@@localhost?database=SysData&connection+timeout=30"
  78. ##张北乐源
  79. Host =
  80. User =
  81. Password =
  82. Name =
  83. [yyn]
  84. FarmId = "1830002642"
  85. ProductKey = "k03txxLKFae"
  86. DeviceName = "02642_p_breed"
  87. DeviceSecret = "c5968fc9ebd6bdaa7c27c441cfb9faf9"
  88. HeartBeat = "Tmr183000264202642_p_breed"
  89. ; YynSecret = "1724910379067346d6352"
  90. [comm]
  91. PortName =
  92. BaudRate = 9600
  93. DataBits = 8
  94. StopBits = 1
  95. ParityMode = 0 #PARITY_NONE 0 PARITY_ODD 1 PARITY_EVEN 2
  96. InterCharacterTimeout = 100
  97. MinimumReadSize = 0