app.ini 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. [app]
  2. PageSize = 10
  3. JwtSecret = 111111
  4. FileSavePath=uploads/files/
  5. FileMaxSize = 104857600
  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 = 8082
  22. ReadTimeout = 60
  23. WriteTimeout = 60
  24. NoAuth = 1
  25. Mdns_servicename = kptadmin
  26. Mdns_serviceport = 53552
  27. # 0 http 1 https 2 http & https 不填 http
  28. Https = 0
  29. HttpsPort = 443
  30. CrtPath = conf/ssl.crt
  31. KeyPath = conf/ssl.key
  32. MailStart = 0
  33. CronFormula = 0 10 * * *
  34. WXworkStart = 0
  35. #WXworkAgentid = 1000022
  36. WXworkAgentid = 1000005 #测试线
  37. #WXworkSecret = RV9z-XTVrVj-BsSQ_6F6nhsX3YpeBE0oH2vzZZPG2qg # 正式环境
  38. WXworkSecret = o0IOfLkXidUjc5X2aHgByNemFaG69gQz-FgHaBxztXE #测试线
  39. #WXworkCorpid = wx93ee6ef7d7810920 #正式线
  40. WXworkCorpid = ww70edaf8db8d78cfc #测试线
  41. # 服务
  42. ServerName = eq
  43. DisplayName = eq
  44. Description = eq
  45. # eas 信息
  46. EasName = 田欣宇
  47. #EasPassword = xdmy@1234
  48. EasPassword = xdmy@1234
  49. EasUrl = http://60.174.151.11:6888
  50. #EasUrl = 192.168.61.26
  51. [database]
  52. Type = mysql
  53. User = root
  54. #User = zp30o1
  55. #Password = root
  56. #Host = 127.0.0.1:3326
  57. Host = 210.16.186.252:3326
  58. #Host = cz-p3.hichina.com:3306
  59. #Password = root
  60. Password = kptzhu@163.com
  61. #Password = u4z7a7k5
  62. #Host = 192.168.1.50:3326
  63. # Host = 192.168.1.8:3326
  64. #####本地
  65. #Password = kepaiteng!QAZ
  66. #Password = keep
  67. # Host = 222.73.129.15:31306
  68. #Host = 127.0.0.1:3306
  69. #Host = 210.16.186.252
  70. #Name = equipment
  71. Name = zp30o1_db
  72. #Name = crm
  73. #Name = eq0422
  74. #Name = eq
  75. #Name = test
  76. TablePrefix =
  77. ShowXormlog = false
  78. ShowGetSqllog = false
  79. CacheApiSql = false
  80. [comm]
  81. PortName =
  82. BaudRate = 9600
  83. DataBits = 8
  84. StopBits = 1
  85. ParityMode = 0 #PARITY_NONE 0 PARITY_ODD 1 PARITY_EVEN 2
  86. InterCharacterTimeout = 100
  87. MinimumReadSize = 0