application.yml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. server:
  2. port: 8088
  3. servlet:
  4. context-path: /api
  5. spring:
  6. application:
  7. name: welampiot
  8. datasource:
  9. driver-class-name: com.mysql.cj.jdbc.Driver
  10. #数据库连接中数据源类型
  11. type: com.alibaba.druid.pool.DruidDataSource
  12. druid:
  13. url: jdbc:mysql://139.196.213.241:3306/welampiot?characterEncoding=utf-8&useSSL=false
  14. username: welampiot
  15. password: XPDejO2KMJ5WZB5a8G3oOIJPkibY1v3Vm9PDI2C+8DQM15FGGQUCGlLGAxiMbBMphX5HNNXy6iAbbZC9GkKzWw==
  16. initialSize: 5
  17. minIdle: 5
  18. maxActive: 100
  19. maxWait: 60000
  20. # encrypt config
  21. filters: config
  22. connect-properties:
  23. config.decrypt: true
  24. config.decrypt.key: MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAI5wh9Y/+kW7LK1jgUTygp2wk5uVUucBheqNDeKPAKH/orx1r1GF4mcFgfaBYO/hyVJC7Gk3xf6ypKd2MCrFRXsCAwEAAQ==
  25. # config.decrypt.key: ${publickey}
  26. # jackson:
  27. # serialization:
  28. # write-null-map-values: true
  29. # gson:
  30. # serialize-nulls: true
  31. servlet:
  32. multipart:
  33. #上传最大文件大小
  34. max-file-size: 100MB
  35. #最大请求大小
  36. max-request-size: 100MB
  37. welampiot:
  38. mqtt:
  39. url: tcp://139.196.213.241:1883
  40. clientId: welampiot_mqtt_client
  41. topics: /#
  42. username: admin
  43. password: admin
  44. timeout: 10
  45. keepalive: 20
  46. wifi: #云盒
  47. mqtt:
  48. url: tcp://streetserver.weclouds.xyz:1883
  49. clientId: welampiot_mqtt_client
  50. topics: /#
  51. username: weclouds
  52. password: weclouds@1234
  53. timeout: 10
  54. keepalive: 20
  55. plc: #力合微
  56. mqtt:
  57. url: tcp://120.24.144.183:1883
  58. clientId: plc_mqtt_client
  59. topics: /#
  60. username: gateway_plc
  61. password: gwplc123456
  62. timeout: 10
  63. keepalive: 20
  64. qihui: #广东启慧
  65. plc:
  66. url: http://139.9.31.177:13389/openapi/
  67. clientId: qh5ozm3DqD4DLJ5F
  68. clientSecret: q1N1NFaMgiJXUGLM1fOVjWekcmsdyQ
  69. zhonglight: #中灯智慧科技(深圳)有限公司 zigbee
  70. plc:
  71. zhongUrl: http://www.cciot.top/app/
  72. operatorID: MA5G0DCR3 #调用方标识符
  73. operatorSecret: uGxdt8NP5DYY+qYD #调用方密钥
  74. sigSecret: ikbgAEmjkVqpKzsg #签名密钥-md5
  75. encryptKey: AoHh1WeNhNvjEaHr #AES加密密钥
  76. iv: SH7SjuAuu3MbXs0v #AES初始向量(偏移量)
  77. zhongUserName: zdzh1935 #用户名
  78. zhongPassword: Zhld2021 #密码
  79. freqlist:
  80. maps:
  81. 1:
  82. name: US915
  83. id: 1
  84. applicationID: 1
  85. deviceProfileID: e02c9c58-ae71-41f2-aab5-0f701e29810b
  86. networkServerID: 1
  87. serviceProfileID: 98b510c6-49ce-4c9b-8f22-7e56bd337ab4
  88. dr: 8
  89. frequency: 923300000
  90. 2:
  91. name: EU868
  92. id: 2
  93. applicationID: 7
  94. deviceProfileID: 0e5ea48e-1265-431a-be52-484a3a1d693a
  95. networkServerID: 76
  96. serviceProfileID: 7bd2cd5b-7390-4391-96f5-8c69760a6d3c
  97. dr: 0
  98. frequency: 869525000
  99. 3:
  100. name: AS923
  101. id: 3
  102. applicationID: 6
  103. deviceProfileID: 454e382e-e9d5-4dad-8d37-b8a51851befa
  104. networkServerID: 77
  105. serviceProfileID: 998c48eb-7f77-4517-beb4-871e22899dd7
  106. dr: 3
  107. frequency: 921600000
  108. mybatis:
  109. mapper-locations: classpath:/mapper/*.xml
  110. check-config-location: true
  111. type-aliases-package: com.welampiot
  112. configuration:
  113. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  114. debug: true
  115. logging:
  116. file:
  117. path: /logs/cis
  118. level:
  119. root: info
  120. config: classpath:logback.xml