app-test.ini 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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 = kptadmin
  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. [database]
  37. Type = mysql
  38. User = root
  39. Password = root
  40. #Host = 127.0.0.1:3326
  41. #Password = root
  42. Host = 192.168.1.103:3326
  43. #Password = root123456
  44. #Host = 47.92.52.73:3306
  45. #Name = equipment
  46. #Name = eqdev
  47. #Name = eq0422
  48. Name = tmrwatch
  49. TablePrefix =
  50. ShowXormlog = false
  51. ShowGetSqllog = false
  52. CacheApiSql = false
  53. [comm]
  54. PortName =
  55. BaudRate = 9600
  56. DataBits = 8
  57. StopBits = 1
  58. ParityMode = 0 #PARITY_NONE 0 PARITY_ODD 1 PARITY_EVEN 2
  59. InterCharacterTimeout = 100
  60. MinimumReadSize = 0