app.ini 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. Host = 127.0.0.1:3306
  43. Password = 123456
  44. Name = tmrwatch2
  45. TablePrefix =
  46. ShowXormlog = false
  47. ShowGetSqllog = false
  48. CacheApiSql = false
  49. [sqlserver]
  50. #Host = "sqlserver://sa:Password@@localhost?database=SysData&connection+timeout=30"
  51. ##张北乐源
  52. Host =
  53. User =
  54. Password =
  55. Name =
  56. [yyn]
  57. FarmId = ""
  58. ProductKey = ""
  59. DeviceName = ""
  60. DeviceSecret = ""
  61. HeartBeat = ""
  62. [comm]
  63. PortName =
  64. BaudRate = 9600
  65. DataBits = 8
  66. StopBits = 1
  67. ParityMode = 0 #PARITY_NONE 0 PARITY_ODD 1 PARITY_EVEN 2
  68. InterCharacterTimeout = 100
  69. MinimumReadSize = 0