application.yml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. server:
  2. port: 8090
  3. servlet:
  4. context-path: /ihotel
  5. spring:
  6. profiles:
  7. active: dev
  8. main:
  9. allow-circular-references: true
  10. servlet:
  11. multipart:
  12. enabled: true
  13. file-size-threshold: 0
  14. max-file-size: 10MB
  15. max-request-size: 10MB
  16. datasource:
  17. dynamic:
  18. datasource:
  19. master:
  20. username: root
  21. password: Chuanghai_test
  22. url: jdbc:mysql://172.16.20.80:3306/ihotel_test?useUnicode=tru&characterEncoding=UTF-8&useSSL=false&useAffectedRows=true&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true&serverTimezone=Asia/Shanghai
  23. driver-class-name: com.mysql.cj.jdbc.Driver
  24. readOnly:
  25. username: queryUser
  26. password: fcBtkT2EwCjiTdc4
  27. url: jdbc:mysql://172.16.20.77:3306/memdb?useUnicode=tru&characterEncoding=UTF-8&useSSL=false&useAffectedRows=true&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true&serverTimezone=Asia/Shanghai
  28. driver-class-name: com.mysql.cj.jdbc.Driver
  29. enabled: true
  30. cache:
  31. type: redis
  32. redis:
  33. time-to-live: 600000
  34. key-prefix: SPRING_CACHE_
  35. use-key-prefix: true
  36. cache-null-values: true
  37. redis:
  38. host: localhost
  39. port: 6379
  40. # password: chuanghai.redis
  41. password: redis.root
  42. jedis:
  43. pool:
  44. max-active: 100
  45. max-idle: 100
  46. min-idle: 100
  47. max-wait: 60000s
  48. # mybatis-plus不属于spring
  49. mybatis-plus:
  50. mapper-locations: classpath:/mapper/template/*.xml
  51. global-config:
  52. db-config:
  53. logic-delete-value: 1
  54. logic-not-delete-value: 0
  55. # 项目公钥私钥
  56. my-security:
  57. privateKey: MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGB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运营商标识
  63. operator-id: "000000001"
  64. # 运营商秘钥
  65. operator-secret: lBej44bqTsoTKstf
  66. # 运营商数据秘钥
  67. data-secret: 3huqwCCgGpwDs7zA
  68. # 数据秘钥初始化向量
  69. data-secret-iv: yrpc05EvAYB09KnQ
  70. # 签名秘钥
  71. sign-key: 8eLaEDi53iHnwOVY
  72. # 服务地址
  73. service-host: http://172.16.20.37:8181/ems-share-api/
  74. # 门锁服务配置
  75. door-lock:
  76. app-id: 2d00b258183146c0a2b19f55250c4596
  77. app-secret: 6edfcc178c0f415d8e6628238761976f
  78. category-id: d0c248256f8346d2a19afa296562b319
  79. service-host: https://www.qspms.cn/open/api/v2/lock
  80. # 微校相关配置
  81. weixiao:
  82. app-key: 4FD5599032819781
  83. app-secret: 0174DFB98063A612526C6B69F941E14A
  84. ocode: 1015730314
  85. mqtt:
  86. broker: tcp://www.qspms.cn:1883
  87. clientId: open_cloud_smartLock_2d00b258183146c0a2b19f55250c4596 #客户端的id
  88. username: 2d00b258183146c0a2b19f55250c4596
  89. password: 9ac03de350720057
  90. timeout: 2000
  91. KeepAlive: 20
  92. topics: smartLock/open/device/2d00b258183146c0a2b19f55250c4596 #主题
  93. qos: 1 #心跳包级别
  94. # 微信支付 V3 版本相关配置
  95. wechat:
  96. pay:
  97. v3:
  98. appId: wxd87cbe1db0437303
  99. # keyPath: E:\\2024project\\iHotel_student_houtai\\src\\main\\resources\\cert\\apiclient_key.pem
  100. # certPath: E:\\2024project\\iHotel_student_houtai\\src\\main\\resources\\cert\\apiclient_cert.pem
  101. # certP12Path: E:\\2024project\\iHotel_student_houtai\\src\\main\\resources\\cert\\apiclient_cert.p12
  102. # platformCertPath: E:\\2024project\\iHotel_student_houtai\\src\\main\\resources\\cert\\cert\\wx_cert.pem
  103. keyPath: F:\项目资料\创海项目资料\iHotel_student_houtai\src\main\resources\cert\apiclient_key.pem
  104. certPath: F:\项目资料\创海项目资料\iHotel_student_houtai\src\main\resources\cert\apiclient_cert.pem
  105. certP12Path: F:\项目资料\创海项目资料\iHotel_student_houtai\src\main\resources\cert\apiclient_cert.p12
  106. platformCertPath: F:\项目资料\创海项目资料\iHotel_student_houtai\src\main\resources\cert\wx_cert.pem
  107. mchId: 1609853253
  108. apiKey3: nanchangjiaotongxueyuan202188888
  109. apiKey: chuanghaikeji2021chuanghaikeji20
  110. # domain: http://73j8db.natappfree.cc #回调地址
  111. domain: https://chtech.ncjti.edu.cn/hotel/ihotel #回调地址
  112. secret: 18e17f97e674e1c03fc255f12d12ca4d
  113. serialNum: 61A33563F6158C1B921A27A23A4E94E963DD53DD