# debug模式，部分权限校验不生效
debug: false

# 项目相关配置
ruoyi:
  # 文件路径 示例（ Windows配置D:/ruoyi/uploadPath，Linux配置 /home/ruoyi/uploadPath）
  profile: /www/wwwroot/smart-swith/upload

wx:
  # 微信小程序appId
  appid: wx0fec9148db16a4bc
  # 微信小程序appSecret
  appSecret: 00bee09cac12ade459a911072745dacc
  # 微信支付配置
  pay:
    # 微信小程序id
    appId: ${wx.appid}
    # 商户id
    merchantId: 1688088868
    # apiV3密钥
    apiV3Key: 49819e0f0abdb2df3246f7b27f264d75
    # 通知回调地址
    notifyUrl: https://kg.chuangtewl.com/prod-api/app/pay/notify/wx
    # 退款通知回调地址
    refundNotifyUrl: https://kg.chuangtewl.com/prod-api/app/pay/notify/wx/refund
    # 密钥所在位置
    privateKeyPath: /www/wwwroot/smart-switch/wxpay-kg-q6/apiclient_key.pem
    # 证书序列号
    merchantSerialNumber: 5100BE228C3F865D2B916D052B8E80B212961955
  # 微信转账配置
  transfer:
    # 微信小程序id
    appId: ${wx.appid}
    # 商户id
    merchantId: 1676202154
    # apiV3密钥
    apiV3Key: 49819e0f0abdb2df3246f7b27f264d75
    # 密钥所在位置
    privateKeyPath: /www/wwwroot/smart-switch/wxpay/apiclient_key.pem
    # 证书序列号
    merchantSerialNumber: 6AD69237C0F22A9AE51A64F1927E3A0962AC1FB0
    # 转账回调地址
    transferNotifyUrl: https://kg.chuangtewl.com/prod-api/app/pay/notify/wx/transfer

# 设备配置
device:
  # 项目启动时抄表
  startRecord: false

spring:
  # redis 配置
  redis:
    # 地址
    host: localhost
    # 端口，默认为6379
    port: 6379
    # 数据库索引
    database: 1
    # 密码
    password: YgUIGNudqOQaRxHZ
    # 连接超时时间
    timeout: 10s
    lettuce:
      pool:
        # 连接池中的最小空闲连接
        min-idle: 0
        # 连接池中的最大空闲连接
        max-idle: 8
        # 连接池的最大数据库连接数
        max-active: 8
        # #连接池最大阻塞等待时间（使用负值表示没有限制）
        max-wait: -1ms

# 云商通配置
yst:
  # appid
  appId: 21762000921804636162
  # 云商通二代分配的服务商应用ID
  spAppId: ""
  # 域名
  host: http://116.228.64.55:28082
  # 格式化
  format: json
  # 字符集
  charset: UTF-8
  # 签名方式
  signType: SM3withSM2
  # API版本
  version: 1.0
  # 秘钥
  secret-key: 878427523d3525e070298d44481b8d2e
  # 私钥
  private-key: MIGTAgEAMBMGByqGSM49AgEGCCqBHM9VAYItBHkwdwIBAQQgiaZmB+feACtziE8SYjVZsaQwLNLRiyO8ebSupeoWIF2gCgYIKoEcz1UBgi2hRANCAATwEo0zq6KaB992PToWeJH52LmfS0sFovnB8/LMaoIAOTlFJtA3YgjWXKlO3KT+GqOCfCC4xE60isCr28tqy7hM
  # 公钥
  public-key: MFkwEwYHKoZIzj0CAQYIKoEcz1UBgi0DQgAEu9LNkJlyLtjJxtQWIGlcZ/hyHt5eZ7LEH1nfOiK1H9HsE1cMPu5KK5jZVTtAyc7lPMXixUMirf6A3tMbuMbgqg==


# 收银宝
syb:
  # 集团ID
  orgId: ""
  # 商户ID
  cusId: 56340307399QTL2
  # 应用ID
  appId: "00322693"
  # 子应用ID
  subAppId: ${wx.appid}
  # MD5密钥
  md5AppKey: allinpay888
  # Api地址
  apiUrl: https://vsp.allinpay.com/apiweb/unitorder
  # 签名方式
  signType: RSA
  # 商户RSA私钥,用于向通联发起请求前进行签名
  rsaCusPriKey: MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCkngbbMX1kgcp8ClMDqO3r2lHP8MIdG+lrwDXoMtxLXv/sohyvmZIGv1QKPDZhU3b+tMfjfyvpCQ53Ji885YVocThz7TP8nNnshhNzhFVIQ+LcfakuitHtmsLL0wohU6NiEOi3k9iZkSuTEHgXkJSoVv3yHicjdDfbcq/rsMhx2RLa9yffVgwJY6it9EO73phc6xHP/VrxYjwjF1EXM22HyF7mNvzSdMpl7k8IBm8r8uvuB108J+sL4yPoJqHSXkJYESA9r0vLPH6hmJ534UG/umleBxnJ3l6NplcgM7NOOV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AxFK+brm6atPB3l0CgYBMnyT/eaMC2PZS9jYAOBDHGTBKMxX5ddRMcI/dZzspzDNfQ6cjWH5RiXFAU4PIU2o9LbnIJNuwjdD3NspQblwbB2/c28qW4iY08jGna7MRJ46mTQle3varn7hWcQ3LMgP7XavgPDKS/qRRv0xFA/cjbnYGFn4iQp5BxcbGCy5Gdg==
  # 通联平台RSA公钥，用于请求返回或者通联通知的验签
  rsaTlPubKey: MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCm9OV6zH5DYH/ZnAVYHscEELdCNfNTHGuBv1nYYEY9FrOzE0/4kLl9f7Y9dkWHlc2ocDwbrFSm0Vqz0q2rJPxXUYBCQl5yW3jzuKSXif7q1yOwkFVtJXvuhf5WRy+1X5FOFoMvS7538No0RpnLzmNi3ktmiqmhpcY/1pmt20FHQQIDAQAB
  # 商户sm2私钥,用于向通联发起请求前进行签名
  sm2CusPriKey: MIGTAgEAMBMGByqGSM49AgEGCCqBHM9VAYItBHkwdwIBAQQgaPcLc/a1wqUa9wpDetd0PtjbPv+ldPq8vPc7UeDmlWegCgYIKoEcz1UBgi2hRANCAASo8eWV80+/3elREuKbSukOwkP+tekaq1bsk9zrreR14RAzQrDJWrq8PBso8Ctpvew51w6aVhFubw+oDFFNLE/w
  # 通联平台sm2公钥，用于请求返回或者通联通知的验签
  sm2TlPubKey: MFkwEwYHKoZIzj0CAQYIKoEcz1UBgi0DQgAEBQicgWm0KAMqhO3bdqMUEDrKQvYg8cCXHhdGwq7CGE6oJDzJ1P/94HpuVdBf1KidmPxr7HOH+0DAnpeCcx9TcQ==
  # 支付通知地址
  notifyUrl: https://kg.chuangtewl.com/prod-api/app/pay/notify/tl

# 活体检测跳转地址
liveness:
  returnUrl: https://kg.chuangtewl.com/liveness
