app.ini 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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 = debug
  20. RunMode = release
  21. HttpPort = 8081
  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. # 对接
  37. GRFD = 1
  38. GRFDURL = http://120.48.30.31:88
  39. [database]
  40. Type = mysql
  41. User = root
  42. #Password = root
  43. #Host = 192.168.1.93:3326
  44. Host = 127.0.0.1:3306
  45. #Name = haiyuan
  46. #Password = root
  47. #Password = root
  48. #Password = kptzhu@163.com
  49. #Host = 192.168.1.50:3326
  50. #Password = root123456
  51. #Password = keep
  52. #Password = kptzhu@163.com
  53. Password = 123456
  54. #Password = kepaiteng!QAZ
  55. #Host = 47.92.52.73:3306
  56. #Host = 127.0.0.1:3306
  57. #Host = 210.16.186.252:3326
  58. #Host = 210.16.186.252:3326
  59. #Host = 127.0.0.1:3309
  60. #Name = equipment
  61. #Name = eqdev
  62. #Name = eq0422
  63. #Name = tmrgo
  64. #Password = kepaiteng!QAZ
  65. #Host = 222.73.129.15:31306
  66. Name = tmrwatch2
  67. TablePrefix =
  68. ShowXormlog = false
  69. ShowGetSqllog = false
  70. CacheApiSql = false
  71. [sqlserver]
  72. #Host = "sqlserver://sa:Password@@localhost?database=SysData&connection+timeout=30"
  73. ##张北乐源
  74. Host =
  75. User =
  76. Password =
  77. Name =
  78. [yyn]
  79. FarmId = ""
  80. ProductKey = ""
  81. DeviceName = ""
  82. DeviceSecret = ""
  83. HeartBeat = ""
  84. [comm]
  85. PortName =
  86. BaudRate = 9600
  87. DataBits = 8
  88. StopBits = 1
  89. ParityMode = 0 #PARITY_NONE 0 PARITY_ODD 1 PARITY_EVEN 2
  90. InterCharacterTimeout = 100
  91. MinimumReadSize = 0