config.yaml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. #系统/后台相关
  2. system:
  3. env: public
  4. addr: 9000
  5. db-type: mysql
  6. oss-type: local
  7. use-multipoint: false
  8. use-redis: true
  9. iplimit-count: 15000
  10. iplimit-time: 3600
  11. router-prefix: ""
  12. jwt:
  13. signing-key: 86e7a688-8d7d-42a5-af86-ec61120601d5
  14. expires-time: 100d
  15. buffer-time: 1d
  16. issuer: qmPlus
  17. captcha:
  18. key-long: 4 #验证码长度
  19. img-width: 240 #宽
  20. img-height: 80 #高
  21. open-captcha: 0 #开启验证码 1关闭,0开启
  22. open-captcha-timeout: 3600 #有效期
  23. logrus:
  24. mysql:
  25. path: 127.0.0.1
  26. port: "3306"
  27. config: charset=utf8mb4&parseTime=True&loc=Local
  28. db-name: lcfds
  29. username: root
  30. password: 123456
  31. prefix: ""
  32. singular: false
  33. engine: ""
  34. max-idle-conns: 10
  35. max-open-conns: 100
  36. log-mode: info
  37. log-zap: false
  38. #海康摄像头事件监听服务器,最多配三个,只需修改id,url,ipAddress和portNo
  39. HttpHostNotificationList:
  40. HttpHostNotification:
  41. -
  42. id: 1
  43. url: /event
  44. protocolType: HTTP
  45. parameterFormatType: XML
  46. addressingFormatType: ipaddress
  47. ipAddress: 192.168.110.69
  48. portNo: 8850
  49. httpBroken: true
  50. httpAuthenticationMethod: none
  51. #调用外部接口
  52. foreign:
  53. securityRewindUrl: "http://106.52.134.22:9099"
  54. #海康摄像头统一配置
  55. hikvision:
  56. user: admin
  57. password: kk176@lc
  58. streamBaseUrl: "webrtc://106.52.134.22/live/"
  59. #摄像头1 测量长度和高度
  60. camera1:
  61. a: [500, 450, 400, 350, 300, 250, 200, 150, 100, 50]
  62. b: [50, 100, 150, 200, 250, 300, 350, 400, 450, 500]
  63. #摄像头2 测量宽度
  64. camera2:
  65. a: [500, 450, 400, 350, 300, 250, 200, 150, 100, 50]
  66. #泥头车的长宽高和体积
  67. dump:
  68. #20尺柜,毛重17.5吨
  69. -
  70. [5.69,2.13,2.18,26]
  71. #40尺柜,毛重22吨
  72. -
  73. [11.8,2.13,2.18,54]
  74. #40尺高柜,毛重22吨
  75. -
  76. [11.8,2.13,2.72,68]
  77. #45尺高柜,毛重29吨
  78. -
  79. [13.58,2.34,2.71,86]
  80. #20尺开顶柜,毛重20吨
  81. -
  82. [5.89,2.32,2.31,31.5]
  83. #40尺开顶柜,毛重30.4吨
  84. -
  85. [12.01,2.33,2.15,65]
  86. #20尺平底柜,毛重23吨
  87. -
  88. [5.85,2.23,2.15,28]
  89. #40尺平底柜,毛重36吨
  90. -
  91. [12.05,2.12,1.96,50]