application-dev.yml 943 Bytes
Newer Older
fangxinjiang's avatar
fangxinjiang committed
1 2
# 数据源配置
spring:
3 4 5 6 7 8
  mvc:
    pathmatch:
      matching-strategy: ant_path_matcher
  config:
    activate:
      on-profile: dev
fangxinjiang's avatar
fangxinjiang committed
9
  redis:
10
    host: 127.0.0.1
fangxinjiang's avatar
fangxinjiang committed
11 12 13 14 15 16 17
    password: '@yf_2017'
  datasource:
    type: com.zaxxer.hikari.HikariDataSource
    driver-class-name: com.mysql.cj.jdbc.Driver
    username: root
    password: yf_zsk
    url: jdbc:mysql://192.168.1.65:22306/yifu_checks?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
18

19 20 21 22 23 24 25 26 27 28 29
## spring security 配置
security:
  oauth2:
    resource:
      loadBalanced: true
      token-info-uri: http://127.0.0.1:3000/oauth/check_token
    # 直接放行URL
    ignore:
      urls:
        - /v3/api-docs
        - /actuator/**
30
        - /swagger-ui/**
31 32 33
        - /checkBankNo/**
# 创蓝云智校验配置
canCheck: true