config.yaml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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]