app.ini 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. Env = local
  19. #debug or release
  20. #RunMode = debug
  21. RunMode = release
  22. HttpPort = 8082
  23. ReadTimeout = 60
  24. WriteTimeout = 60
  25. NoAuth = 1
  26. Mdns_servicename = kptadmin
  27. Mdns_serviceport = 53552
  28. # 0 http 1 https 2 http & https 不填 http
  29. Https = 0
  30. HttpsPort = 443
  31. CrtPath = conf/ssl.crt
  32. KeyPath = conf/ssl.key
  33. MailStart = 0
  34. CronFormula = 0 10 * * *
  35. WXworkStart = 0
  36. #WXworkAgentid = 1000022
  37. WXworkAgentid = 1000005 #测试线
  38. #WXworkSecret = RV9z-XTVrVj-BsSQ_6F6nhsX3YpeBE0oH2vzZZPG2qg # 正式环境
  39. WXworkSecret = o0IOfLkXidUjc5X2aHgByNemFaG69gQz-FgHaBxztXE #测试线
  40. #WXworkCorpid = wx93ee6ef7d7810920 #正式线
  41. WXworkCorpid = ww70edaf8db8d78cfc #测试线
  42. # 服务
  43. ServerName = eq
  44. DisplayName = eq
  45. Description = eq
  46. # eas 信息
  47. EasName = 田欣宇
  48. #EasPassword = xdmy@1234
  49. EasPassword = xdmy@1234
  50. EasUrl = http://60.174.151.11:6888
  51. #EasUrl = 192.168.61.26
  52. [database]
  53. Dsn = root:kepaiteng!QAZ@tcp(222.73.129.15:31306)/eq?charset=utf8&parseTime=True&loc=Local
  54. Type = mysql
  55. User = root
  56. #####本地
  57. Password = kepaiteng!QAZ
  58. Host = 222.73.129.15:31306
  59. Name = eq
  60. TablePrefix =
  61. ShowXormlog = true
  62. ShowGetSqllog = true
  63. CacheApiSql = true
  64. [comm]
  65. PortName =
  66. BaudRate = 9600
  67. DataBits = 8
  68. StopBits = 1
  69. ParityMode = 0 #PARITY_NONE 0 PARITY_ODD 1 PARITY_EVEN 2
  70. InterCharacterTimeout = 100
  71. MinimumReadSize = 0