app.ini 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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 = 120
  23. WriteTimeout = 120
  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. SyncStatus = 9
  40. [database]
  41. Type = mysql
  42. User = root
  43. Password = root
  44. Host = mariadb:3306
  45. Name = tmrwatch2
  46. Password = root
  47. TablePrefix =
  48. ShowXormlog = false
  49. ShowGetSqllog = false
  50. CacheApiSql = false
  51. [comm]
  52. PortName =com3
  53. BaudRate = 9600
  54. DataBits = 8
  55. StopBits = 1
  56. ParityMode = 0 #PARITY_NONE 0 PARITY_ODD 1 PARITY_EVEN 2
  57. InterCharacterTimeout = 100
  58. MinimumReadSize = 0
  59. refix =
  60. ShowXormlog = false
  61. ShowGetSqllog = false
  62. CacheApiSql = false
  63. [comm]
  64. PortName =
  65. BaudRate = 9600
  66. DataBits = 8
  67. StopBits = 1
  68. ParityMode = 0 #PARITY_NONE 0 PARITY_ODD 1 PARITY_EVEN 2
  69. InterCharacterTimeout = 100
  70. MinimumReadSize = 0
  71. [yyn]
  72. #蓝浩
  73. FarmId = "1830004776"
  74. ProductKey = "k03txxLKFae"
  75. DeviceName = "04776_p_breed"
  76. DeviceSecret = "e1fdb50556b13afe896e738fdcb25bf3"
  77. HeartBeat = "Tmr183000477604776_p_breed"