application-dev.yml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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://ruoweiedu.com:13307/trade?useUnicode=true&characterEncoding=utf8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=UTC&createDatabaseIfNotExist=true&allowPublicKeyRetrieval=true
  33. username: trade
  34. password: Trade@2022
  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: 8080
  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. application:
  98. ali-cloud:
  99. enable-sms: false
  100. qiYueSuoAccount:
  101. serverUrl: https://openapi.qiyuesuo.cn
  102. accessKey: njhjJYvh6B
  103. accessSecret: wdodHgMGea9FruNd0kqbGKvCleKS3U
  104. secretKey: kiU1m7YsnTqCVNgN
  105. hostPath: http://ruoweiedu.com:5156/api/
  106. bcosPath: http://ruoweiedu.com:5161/api/
  107. qysCallServer: https://beta.fuxicarbon.com/api/qys/permit/
  108. earnestPct: 0.01
  109. deposit: 0.01
  110. wechatPay:
  111. orderNotifyUrl: https://beta.fuxicarbon.com/api/wechat-pay-records/orderNotify
  112. depositNotifyUrl: https://beta.fuxicarbon.com/api/wechat-pay-records/depositNotify