##### dev 配置 #######
oauth:
  server:
    #Nginx代理地址
    proxy: http://127.0.0.1:8888/oauth-server
    #内网服务地址
    internal: http://127.0.0.1:8888/oauth-server

spring:
  #数据库配置
  datasource:
    dynamic:
      primary: master
      datasource:
        master:
          url: jdbc:dm://127.0.0.1:5236
          username: BIANMU
          password: 123456789
          driver-class-name: dm.jdbc.driver.DmDriver
  # 页面缓存
  thymeleaf:
    cache: false

  elasticsearch:
    rest:
      uris: http://127.0.0.1:9200

mybatis-plus:
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl

security:
  oauth2:
    client:
      client-id: control
      client-secret: control_123456
      access-token-uri: ${oauth.server.internal}/oauth/token
      user-authorization-uri: ${oauth.server.proxy}/oauth/authorize
    resource:
      user-info-uri: ${oauth.server.internal}/oauth/user/info

project:
  #是否需要输入验证码
  captcha-enable: false
  # 是否启用记住我（免登录，debug利器）
  remember-me-enable: true
  # 配置文件存储方式
  file-storage:
    # 存储路径
    path: ${user.home}/shandan/bianmu/upload

logging:
  level:
    root: debug
