app.ini 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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 = 80
  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. [database]
  41. Type = mysql
  42. User = root
  43. Password = root
  44. #Host = 8.130.17.8:3306
  45. Host = 192.168.1.93:3326
  46. #Host = 127.0.0.1:3316
  47. #Name = haiyuan
  48. #Password = root
  49. #Password = root
  50. #Password = kptzhu@163.com
  51. #Host = 192.168.1.50:3326
  52. #Password = root123456
  53. #Password = keep
  54. #Password = kpt123456*
  55. #Password = kepaiteng!QAZ
  56. #Host = 47.92.52.73:3306
  57. #Host = 127.0.0.1:3306
  58. #Host = 210.16.186.252:3326
  59. #Password = kptzhu@163.com
  60. #Host = 210.16.186.252:3326
  61. #Host = 127.0.0.1:3309
  62. #Name = equipment
  63. #Name = eqdev
  64. #Name = eq0422
  65. #Name = tmrgo
  66. #Password = kepaiteng!QAZ
  67. #Host = 222.73.129.15:31306
  68. Name = bmsm8
  69. TablePrefix =
  70. ShowXormlog = false
  71. ShowGetSqllog = false
  72. CacheApiSql = false
  73. [sqlserver]
  74. #Host = "sqlserver://sa:Password@@localhost?database=SysData&connection+timeout=30"
  75. ##张北乐源
  76. Host =
  77. User =
  78. Password =
  79. Name =
  80. [yyn]
  81. FarmId = "1830004776"
  82. ProductKey = "k03txxLKFae"
  83. DeviceName = "04776_p_breed"
  84. DeviceSecret = "e1fdb50556b13afe896e738fdcb25bf3"
  85. HeartBeat = "Tmr183000477604776_p_breed"
  86. [comm]
  87. PortName =
  88. BaudRate = 9600
  89. DataBits = 8
  90. StopBits = 1
  91. ParityMode = 0 #PARITY_NONE 0 PARITY_ODD 1 PARITY_EVEN 2
  92. InterCharacterTimeout = 100
  93. MinimumReadSize = 0
  94. ; product_key =k03txxLKFae device_name =4623_p_breed
  95. ; device_secret =d06ababb2b10ba25bca3041e35ac604d
  96. ; host = iot-010a5xth.mqtt.iothub.aliyuncs.com
  97. ; farmId=1830004623
  98. ; heartBeat=18300046234623_p_breed
  99. ; TopicName=/k03txxLKFae/4623_p_breed/user/heatwatch/tmrBreed/post