server:
  port: 8099
  tomcat:
    uri-encoding: UTF-8
app.id: aska-admin


mybatis:
  typeAliasesPackage: com.mofangchuxing.aska.dao.domain
  mapperLocations: classpath:mapper/*.xml

spring:
  redis:
    open: true                    # 是否开启redis缓存  true开启   false关闭
    database: 0
    host: 127.0.0.1  # 测试环境redis
    port: 6379
    password:       # 密码(默认为空)
    jedis:
      pool:
        max-wait: -1              # 连接池最大阻塞等待时间(使用负值表示没有限制)
        max-idle: 10              # 连接池中的最大空闲连接
        min-idle: 5
        max-active: 1000          # 连接池中的最小空闲连接
  datasource:
    druid:
        name: master
        url: jdbc:mysql://localhost:55000/aska?&zeroDateTimeBehavior=convertToNull&useSSL=false
        username: root
        password: mysqlpw
        driver-class-name: com.mysql.jdbc.Driver
        type: com.alibaba.druid.pool.DruidDataSource
        timeBetweenEvictionRunsMillis: 600000
        validationQuery: select 1
        initialSize: 20
        minIdle: 5
        maxActive: 20
        maxWait: 3000

#微信支付配置
wx:
  app-id: wxc6eeeba72fd3ed01
  #app端的appId
  app-appid: wxe5251793c19a48d5
  mch-id: 1641830577
  api-key: a8babfa0d75ac878dd76dc905bf677e2
  unified-order-url: https://api.mch.weixin.qq.com/pay/unifiedorder
  notify-url: https://biketest.mofangchuxing.com/askay/notify