123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- # ===================================================================
- # Spring Boot configuration for the "dev" profile.
- #
- # This configuration overrides the application.yml file.
- #
- # More information on profiles: https://www.jhipster.tech/profiles/
- # More information on configuration properties: https://www.jhipster.tech/common-application-properties/
- # ===================================================================
- # ===================================================================
- # Standard Spring Boot properties.
- # Full reference is available at:
- # http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html
- # ===================================================================
- logging:
- level:
- ROOT: DEBUG
- tech.jhipster: DEBUG
- org.hibernate.SQL: DEBUG
- com.ledar.trade: DEBUG
- spring:
- devtools:
- restart:
- enabled: true
- additional-exclude: static/**
- livereload:
- enabled: false # we use Webpack dev server + BrowserSync for livereload
- jackson:
- serialization:
- indent-output: true
- datasource:
- type: com.zaxxer.hikari.HikariDataSource
- url: jdbc:mysql://localhost:3306/trade_beta?useUnicode=true&characterEncoding=utf8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=UTC&createDatabaseIfNotExist=true&allowPublicKeyRetrieval=true
- username: trade_beta
- password: 5Wvh08ecJir1
- hikari:
- poolName: Hikari
- auto-commit: false
- data-source-properties:
- cachePrepStmts: true
- prepStmtCacheSize: 250
- prepStmtCacheSqlLimit: 2048
- useServerPrepStmts: true
- jpa:
- liquibase:
- enabled: false
- messages:
- cache-duration: PT1S # 1 second, see the ISO 8601 standard
- thymeleaf:
- cache: false
- server:
- port: 8081
- # ===================================================================
- # JHipster specific properties
- #
- # Full reference is available at: https://www.jhipster.tech/common-application-properties/
- # ===================================================================
- jhipster:
- cache: # Cache configuration
- ehcache: # Ehcache configuration
- time-to-live-seconds: 0 # By default objects stay 1 hour in the cache
- max-entries: 100 # Number of objects in each cache entry
- # CORS is only enabled by default with the "dev" profile
- cors:
- # Allow Ionic for JHipster by default (* no longer allowed in Spring Boot 2.4+)
- 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'
- # Enable CORS when running in GitHub Codespaces
- allowed-origin-patterns: 'https://*.githubpreview.dev'
- allowed-methods: '*'
- allowed-headers: '*'
- exposed-headers: 'Authorization,Link,X-Total-Count,X-${jhipster.clientApp.name}-alert,X-${jhipster.clientApp.name}-error,X-${jhipster.clientApp.name}-params'
- allow-credentials: true
- max-age: 1800
- security:
- authentication:
- jwt:
- # 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)
- base64-secret: hf/Vx4c8g/5lh+cICgxWkXblHl54Od/nE8GzPvy59kvMjChBboL1wNKOggY75Y70vWAI/E96/IYNb6X3i9pt6w==
- # Token is valid 24 hours
- token-validity-in-seconds: 86400
- token-validity-in-seconds-for-remember-me: 2592000
- logging:
- use-json-format: false # By default, logs are not in Json format
- logstash: # Forward logs to logstash over a socket, used by LoggingConfiguration
- enabled: false
- host: localhost
- port: 5000
- queue-size: 512
- # ===================================================================
- # Application specific properties
- # Add your own application properties here, see the ApplicationProperties class
- # to have type-safe configuration, like in the JHipsterProperties above
- #
- # More documentation is available at:
- # https://www.jhipster.tech/common-application-properties/
- # ===================================================================
- application:
- ali-cloud:
- enable-sms: true
- access-key-id: LTAI5tMYjV29Hy1XKn3d79YD
- access-key-secret: 48we5KZdx9Bu2OiJ9hmXhQTf2aCut0
- sign-name: 伏羲碳惠交易平台
- message-add-template: SMS_246080076
- template0: SMS_263875992
- template1: SMS_264015966
- template2: SMS_264150937
- template3: SMS_263920973
- template4: SMS_263896005
- template5: SMS_264175932
- template6: SMS_263885961
- template7: SMS_263926033
- template8: SMS_264030920
- template9: SMS_264030916
- template10: SMS_264190885
- template11: SMS_264080890
- template12: SMS_264150873
- template13: SMS_264860508
- template14: SMS_461065541
- template15: SMS_460935564
- template16: SMS_461025520
- template17: SMS_461080515
- plat-bank-account:
- user-id: 1
- account-name: 碳交易平台银行账号
- account-number: 1234567891234567
- issuing-bank: 平台开会行
- inter-bank-number: 银联号
- issuing-address: 开户行地址
- qiYueSuoAccount:
- serverUrl: https://openapi.qiyuesuo.cn
- accessKey: njhjJYvh6B
- accessSecret: wdodHgMGea9FruNd0kqbGKvCleKS3U
- secretKey: kiU1m7YsnTqCVNgN
- hostPath: https://beta.carbonlibra.com/api/
- bcosPath: https://localhost:8091/api/
- qysCallServer: https://beta.fuxicarbon.com/api/qys/permit/
- earnestPct: 0.01
- deposit: 0.01
- wechatPay:
- orderNotifyUrl: https://beta.fuxicarbon.com/api/wechat-pay-records/orderNotify
- depositNotifyUrl: https://beta.fuxicarbon.com/api/wechat-pay-records/depositNotify
|