# CRMEB 相关配置
crmeb:
  version: CRMEB-JAVA-MER-v1.3.0 # 当前代码版本
  domain: #配合swagger使用 # 待部署域名
  wechat-api-url:  #请求微信接口中专服务器
  wechat-js-api-debug: false #微信js api系列是否开启调试模式
  wechat-js-api-beta: true #微信js api是否是beta版本
  asyncConfig: false #是否同步config表数据到redis
  asyncWeChatProgramTempList: false #是否同步小程序公共模板库
  imagePath: /data/workspace/crmeb-javamer/images/ # 服务器图片路径配置 斜杠结尾
  retailStoreBrokerageRatio: 100 #佣金返佣比例和上限
  activityStyleCachedTime: 10 #活动边框缓存周期 秒为单位，生产环境适当5-10分钟即可
  activityStyleProductLimit: 100 # 活动边框指定商品上线

server:
  port: 40000

spring:
  profiles:
    #  配置的环境
    active: prod
  servlet:
    multipart:
      max-file-size: 50MB #设置单个文件大小
      max-request-size: 50MB #设置单次请求文件的总大小
    #  数据库配置
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    driver-class-name: com.mysql.jdbc.Driver
    url: jdbc:mysql://192.168.0.7:3368/crmeb?characterEncoding=utf-8&useSSL=false&serverTimeZone=GMT+8
    username: v5_enterprise2021
    password: Prod_v5#202109
  redis:
    host: 192.168.0.62 #地址
    port: 6379 #端口
    password: Bcxin@2019
    timeout: 10000 # 连接超时时间（毫秒）
    database: 7 #默认数据库
    jedis:
      pool:
        max-active: 200 # 连接池最大连接数（使用负值表示没有限制）
        max-wait: -1 # 连接池最大阻塞等待时间（使用负值表示没有限制）
        max-idle: 10 # 连接池中的最大空闲连接
        min-idle: 0 # 连接池中的最小空闲连接
        time-between-eviction-runs: -1 #逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认-1

debug: true
logging:
  level:
    io.swagger.*: error
    com.zbkj: debug
    org.springframework.boot.autoconfigure: ERROR
  config: classpath:logback-spring.xml
  file:
    path: ./crmeb_admin_log

# mybatis 配置
mybatis-plus:
  # 配置slq打印日志
  configuration:
    log-impl:

#swagger 配置
swagger:
  basic:
    enable: false #是否开启界面
    check: false #是否打开验证
    username: crmeb #访问swagger的账号
    password: crmeb.com #访问swagger的密码
sms:
  sendSwitch: true
  code: B00
  url: http://msg.bcxin.com.cn:9165/sms/huawei/sendSMS
  channel: com
  platform: V5
mybank:
  api:
    appId: 2025061700003248
    isvOrgId: 202211000000000003340
    privateKey: MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCe+vU3Tlyk0IS+xUsZJLpuDFJGvOg1W/W6DAViguc8zPpA+1y+3IICA6CfAYEznQEcEug6vHJChZ5cP2lO5HVBBYX9qQRVeKxkXjAcuJY5Wt7jcwsT6YXY4JmtSKf2qzg1NKaVsSTCBw9IvMSfOLSnOrfHoSJKkAflAWdLZXTz8QkIYC+ECbMCEMtyPxae/ZPi+FS4RbMxgGBng2e43mcE+aNIYgMpSDISY1qOe3/UVrwCRh6clylyq4OYIDGSYTiFrW47gFC8xLkLGfMbIs3Y3IIKhbENMnKbX0EDiAkpQsYfwJzeYhsToP3zt/4hCNMvdrGCqRWnXcFFpSdzsPKVAgMBAAECggEAPTcewtv+mkvcQWTQpO7ahlNiPvCwbRNqy+ejDyqehW/cELd5H9jiiooBCBjZOhmDet7g4vT6/hhbQOP91a3sZEwPKvwwugSMRN1rozOETLNrzaLXqiQqMLdTFUE7w6RsMTiDyHH8WGXFgdmF0FVSYm4eo9Ss0o8hKxHeR07auK8Cl7AR967oLrVtzk+2MZUeBak3znAcrq08QnldOMavvb0Qlfh107njel0PHimmfcREZnBqL3rKlB8yueazxRKphtyR/t6tZKFSagngVtKeeSOJyTBZLW/uovJcS66WcThhAHF/BttgmSQHWp6o7/gC9Lpb4uS9Wro73fRsJ86AhQKBgQDu6HoSu5kptF+Kb33Jh6FgsqaTC2bonWM+JEees5lhLmI75L3Est38ySkNnYJZjToIAAO00ynXfhCw7SzsUt9Bduv2vvDgkRQjiWa14JueF30PlyV2DqE5sHB7KhHNCfIHObJarBqkFxuz/LKVPkY5HSfdv18064RI83OHsh50+wKBgQCq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kVp13BRaUnc7DylQIDAQAB
    checkPublicKey: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjQNXWNjJglZ0WMg90VZiWfDT5tuWAVaa1Rs0fTvfHeYhkroFmJqu7ShjxDiMjtdYdZ53ciHLKNTHwCPiK6qiEHETRzZYJr2X6VPGrrqBDqBBHr8zhRWQOGNApXqaPjfSWsygXq2tAVlic1ZiFvAQoi4pX6Dyr0jVVmsbzYQnaeTGKkqAx/ao3/4yl6RhdmkiMd3fSE1Ql9Y2Uf14oMwOEPC5jE/2u8NYydlt7H2xPZM4XjeTBf5E84ACkun/MxWSQ31uEMZOwUtl6NUnTo83ZFVhoG7BTdXgIbsdXWh04GbF4zbVy6zy6kBBY0p6nHwOszaiuHxqzoEd1WNgEEN7bQIDAQAB
    format: XML
    charset: UTF-8
    signType: RSA
    sftp:
      address:
      username:
      password:
      port: 22
      uploadSleep: 2000
      uploadRetry: 3
    function:
      version: 1.0.0
    spServerUrl: https://bkgw.mybank.cn/open/api/common/request2.htm
    bkServerUrl: https://bkgw.mybank.cn/open/lite/api/common/request.htm
    bkOpenApiUrl: https://bkgw.mybank.cn/open/request/common-xml.htm
    uploadphotoUrl: https://bkgw.mybank.cn/ant/mybank/merchantprod/merchant/uploadphoto.htm
    uploadFileUrl: https://bkgw.mybank.cn/ant/mybank/industry/payroll/file/upload.htm
    kybApplyUrl: https://bkgw.mybank.cn/bkmerchantprod/kyb/apply.htm
    kybMatchUrl: https://bkgw.mybank.cn/open/api/common/request.htm
    serverUrl: https://bkgw.mybank.cn/open/api/common/request2.htm
