application-beta.yml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. # ===================================================================
  2. # Spring Boot configuration for the "dev" profile.
  3. #
  4. # This configuration overrides the application.yml file.
  5. #
  6. # More information on profiles: https://www.jhipster.tech/profiles/
  7. # More information on configuration properties: https://www.jhipster.tech/common-application-properties/
  8. # ===================================================================
  9. # ===================================================================
  10. # Standard Spring Boot properties.
  11. # Full reference is available at:
  12. # http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html
  13. # ===================================================================
  14. logging:
  15. level:
  16. ROOT: DEBUG
  17. tech.jhipster: DEBUG
  18. org.hibernate.SQL: DEBUG
  19. com.ledar.trade: DEBUG
  20. spring:
  21. devtools:
  22. restart:
  23. enabled: true
  24. additional-exclude: static/**
  25. livereload:
  26. enabled: false # we use Webpack dev server + BrowserSync for livereload
  27. jackson:
  28. serialization:
  29. indent-output: true
  30. datasource:
  31. type: com.zaxxer.hikari.HikariDataSource
  32. url: jdbc:mysql://localhost:3306/trade_beta?useUnicode=true&characterEncoding=utf8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=UTC&createDatabaseIfNotExist=true&allowPublicKeyRetrieval=true
  33. username: trade_beta
  34. password: 5Wvh08ecJir1
  35. hikari:
  36. poolName: Hikari
  37. auto-commit: false
  38. data-source-properties:
  39. cachePrepStmts: true
  40. prepStmtCacheSize: 250
  41. prepStmtCacheSqlLimit: 2048
  42. useServerPrepStmts: true
  43. jpa:
  44. liquibase:
  45. enabled: false
  46. messages:
  47. cache-duration: PT1S # 1 second, see the ISO 8601 standard
  48. thymeleaf:
  49. cache: false
  50. server:
  51. port: 8081
  52. # ===================================================================
  53. # JHipster specific properties
  54. #
  55. # Full reference is available at: https://www.jhipster.tech/common-application-properties/
  56. # ===================================================================
  57. jhipster:
  58. cache: # Cache configuration
  59. ehcache: # Ehcache configuration
  60. time-to-live-seconds: 0 # By default objects stay 1 hour in the cache
  61. max-entries: 100 # Number of objects in each cache entry
  62. # CORS is only enabled by default with the "dev" profile
  63. cors:
  64. # Allow Ionic for JHipster by default (* no longer allowed in Spring Boot 2.4+)
  65. allowed-origins: 'http://localhost:8000, https://localhost:8000,http://localhost:8001, https://localhost:8001, http://192.168.1.20:8000, http://192.168.1.30:8000, http://192.168.1.30:8001, https://192.168.1.30:8001, http://192.168.1.24:8000, https://192.168.1.24:8000'
  66. # Enable CORS when running in GitHub Codespaces
  67. allowed-origin-patterns: 'https://*.githubpreview.dev'
  68. allowed-methods: '*'
  69. allowed-headers: '*'
  70. exposed-headers: 'Authorization,Link,X-Total-Count,X-${jhipster.clientApp.name}-alert,X-${jhipster.clientApp.name}-error,X-${jhipster.clientApp.name}-params'
  71. allow-credentials: true
  72. max-age: 1800
  73. security:
  74. authentication:
  75. jwt:
  76. # This token must be encoded using Base64 and be at least 256 bits long (you can type `openssl rand -base64 64` on your command line to generate a 512 bits one)
  77. base64-secret: hf/Vx4c8g/5lh+cICgxWkXblHl54Od/nE8GzPvy59kvMjChBboL1wNKOggY75Y70vWAI/E96/IYNb6X3i9pt6w==
  78. # Token is valid 24 hours
  79. token-validity-in-seconds: 86400
  80. token-validity-in-seconds-for-remember-me: 2592000
  81. logging:
  82. use-json-format: false # By default, logs are not in Json format
  83. logstash: # Forward logs to logstash over a socket, used by LoggingConfiguration
  84. enabled: false
  85. host: localhost
  86. port: 5000
  87. queue-size: 512
  88. # ===================================================================
  89. # Application specific properties
  90. # Add your own application properties here, see the ApplicationProperties class
  91. # to have type-safe configuration, like in the JHipsterProperties above
  92. #
  93. # More documentation is available at:
  94. # https://www.jhipster.tech/common-application-properties/
  95. # ===================================================================
  96. application:
  97. ali-cloud:
  98. enable-sms: true
  99. access-key-id: LTAI5tMYjV29Hy1XKn3d79YD
  100. access-key-secret: 48we5KZdx9Bu2OiJ9hmXhQTf2aCut0
  101. sign-name: 伏羲碳惠交易平台
  102. message-add-template: SMS_246080076
  103. template0: SMS_263875992
  104. template1: SMS_264015966
  105. template2: SMS_264150937
  106. template3: SMS_263920973
  107. template4: SMS_263896005
  108. template5: SMS_264175932
  109. template6: SMS_263885961
  110. template7: SMS_263926033
  111. template8: SMS_264030920
  112. template9: SMS_264030916
  113. template10: SMS_264190885
  114. template11: SMS_264080890
  115. template12: SMS_264150873
  116. template13: SMS_264860508
  117. template14: SMS_461065541
  118. template15: SMS_460935564
  119. template16: SMS_461025520
  120. template17: SMS_461080515
  121. plat-bank-account:
  122. user-id: 1
  123. account-name: 碳交易平台银行账号
  124. account-number: 1234567891234567
  125. issuing-bank: 平台开会行
  126. inter-bank-number: 银联号
  127. issuing-address: 开户行地址
  128. qiYueSuoAccount:
  129. serverUrl: https://openapi.qiyuesuo.cn
  130. accessKey: njhjJYvh6B
  131. accessSecret: wdodHgMGea9FruNd0kqbGKvCleKS3U
  132. secretKey: kiU1m7YsnTqCVNgN
  133. hostPath: https://beta.carbonlibra.com/api/
  134. bcosPath: https://localhost:8091/api/
  135. qysCallServer: https://beta.fuxicarbon.com/api/qys/permit/
  136. earnestPct: 0.01
  137. deposit: 0.01
  138. wechatPay:
  139. orderNotifyUrl: https://beta.fuxicarbon.com/api/wechat-pay-records/orderNotify
  140. depositNotifyUrl: https://beta.fuxicarbon.com/api/wechat-pay-records/depositNotify