application.yml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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. welampiot:
  32. mqtt:
  33. url: tcp://139.196.213.241:1883
  34. clientId: welampiot_mqtt_client
  35. topics: /#
  36. username: admin
  37. password: admin
  38. timeout: 10
  39. keepalive: 20
  40. plc: #力合微
  41. mqtt:
  42. url: tcp://120.24.144.183:1883
  43. clientId: plc_mqtt_client
  44. topics: /#
  45. username: gateway_plc
  46. password: gwplc123456
  47. timeout: 10
  48. keepalive: 20
  49. qihui: #广东启慧
  50. plc:
  51. url: http://139.9.31.177:13389/openapi/
  52. clientId: qh5ozm3DqD4DLJ5F
  53. clientSecret: q1N1NFaMgiJXUGLM1fOVjWekcmsdyQ
  54. zhonglight: #中灯智慧科技(深圳)有限公司 zigbee
  55. plc:
  56. zhongUrl: http://www.cciot.top/app/
  57. operatorID: MA5G0DCR3 #调用方标识符
  58. operatorSecret: uGxdt8NP5DYY+qYD #调用方密钥
  59. sigSecret: ikbgAEmjkVqpKzsg #签名密钥-md5
  60. encryptKey: AoHh1WeNhNvjEaHr #AES加密密钥
  61. iv: SH7SjuAuu3MbXs0v #AES初始向量(偏移量)
  62. zhongUserName: zdzh1935 #用户名
  63. zhongPassword: Zhld2021 #密码
  64. freqlist:
  65. maps:
  66. 1:
  67. name: US915
  68. id: 1
  69. applicationID: 1
  70. deviceProfileID: e02c9c58-ae71-41f2-aab5-0f701e29810b
  71. networkServerID: 1
  72. serviceProfileID: 98b510c6-49ce-4c9b-8f22-7e56bd337ab4
  73. dr: 8
  74. frequency: 923300000
  75. 2:
  76. name: EU868
  77. id: 2
  78. applicationID: 7
  79. deviceProfileID: 0e5ea48e-1265-431a-be52-484a3a1d693a
  80. networkServerID: 76
  81. serviceProfileID: 7bd2cd5b-7390-4391-96f5-8c69760a6d3c
  82. dr: 0
  83. frequency: 869525000
  84. 3:
  85. name: AS923
  86. id: 3
  87. applicationID: 6
  88. deviceProfileID: 454e382e-e9d5-4dad-8d37-b8a51851befa
  89. networkServerID: 77
  90. serviceProfileID: 998c48eb-7f77-4517-beb4-871e22899dd7
  91. dr: 3
  92. frequency: 921600000
  93. mybatis:
  94. mapper-locations: classpath:/mapper/*.xml
  95. check-config-location: true
  96. type-aliases-package: com.welampiot
  97. configuration:
  98. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  99. debug: true
  100. logging:
  101. file:
  102. path: /logs/cis
  103. level:
  104. root: info
  105. config: classpath:logback.xml