123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- # ===================================================================
- # 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://ruoweiedu.com:13307/trade?useUnicode=true&characterEncoding=utf8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=UTC&createDatabaseIfNotExist=true&allowPublicKeyRetrieval=true
- username: trade
- password: Trade@2022
- 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: 8080
- # ===================================================================
- # 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:
- application:
- ali-cloud:
- enable-sms: false
- qiYueSuoAccount:
- serverUrl: https://openapi.qiyuesuo.cn
- accessKey: njhjJYvh6B
- accessSecret: wdodHgMGea9FruNd0kqbGKvCleKS3U
- secretKey: kiU1m7YsnTqCVNgN
- hostPath: http://ruoweiedu.com:5156/api/
- bcosPath: http://ruoweiedu.com:5161/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
|