# 数据源配置
spring:
    datasource:
        type: com.alibaba.druid.pool.DruidDataSource
        driverClassName: com.mysql.cj.jdbc.Driver
        druid:
            # 主库数据源 jdbc:mysql://localhost:3306/catmdogf?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true
            master:
                url: jdbc:mysql://47.97.158.59:3306/catmdogf_prod20225?useUnicode=true&useSSL=false&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true
                username: root
                password: Qweruiop@123
            # 从库数据源
            slave:
                # 从数据源开关/默认关闭
                enabled: false
                url:
                username:
                password:
            statViewServlet:
                # 控制台管理用户名和密码
                login-username: ruoyi
                login-password: 123456
    # redis 配置
    redis:
        # 地址
        host: 47.97.158.59
        # 端口，默认为6379
        port: 6379
        # 数据库索引
        database: 5
        # 密码
        password: Qweruiop@123
redisson:
    address: "47.97.158.59"
    password: "Qweruiop@123"  # 如果有密码的话
    connectionPoolSize: 10
    idleConnectionTimeout: 10000
    timeout: 3000

ruoyi:
    # 文件路径 示例（ Windows配置C:/ruoyi/uploadPath，Linux配置 /home/ruoyi/uploadPath）
    profile: /Users/daixiande/Work/ruoyi/uploadPath
scheduling:
    enabled: false
#操作oss需要的一些参数
aliyun:
    accessKeyId: LTAI5tQSs47izVy8DLVdwUU9       # 阿里云的accessKeyId
    secretAccessKey: qHI7C3PaXYZySr84HTToviC71AYlFq   # accessKey 密码
    oss:
        endPoint: oss-cn-shenzhen.aliyuncs.com     # Endpoint:在阿里云oss控制台查看自己使用的endpoint
        bucketName: hanhaiimage   # bucket 名称
        cdnName: image.hhlm1688.com
wechat:
    enabled: true
    appId: wxd1a6ba7b5e17a5b6
    secret: 你的微信服务号密钥
    merchantId: 1665639691
    privateKeyPath: /data/software/app/key/apiclient_key.pem
#    privateKeyPath:  /root/pem/apiclient_key.pem
#    privateKeyPath: F:\\java_work\\team_work_java\\pet-admin-25-01-25\\pet-admin\\ruoyi-admin\\src\\main\\resources\\apiclient_key.pem
    #privateKeyPath: /Users/daixiande/Work/杂七杂八/1665639691_20240111_cert/apiclient_key.pem
    merchantSerialNumber: 6050244FC18200362585F1F9FD6557A1B291E8C0
    apiV3key: 19971022197001121966060120240731
    apiV2key: 19961022196901121965060120230731
#    notifyUrl: https://api.catmdogd.com/prod-api/no-auth/wechat/notify
#    notifyUrlForBCHSH: https://api.catmdogd.com/prod-api/no-auth/wechat/notifyForBCHSH
#    notifyUrl: https://pet-admin.hhlm1688.com/api/no-auth/wechat/notify
#    notifyUrlForBCHSH: https://pet-admin.hhlm1688.com/api/no-auth/wechat/notifyForBCHSH
    notifyUrl: http://h5.xzaiyp.top/no-auth/wechat/notify
    notifyUrlForBCHSH: http://h5.xzaiyp.top/no-auth/wechat/notifyForBCHSH
    miniProgramAppId: wxd1a6ba7b5e17a5b6
    miniProgramSecret: 06e946a2c9010f8eb9e306018a779a7f
    staffAppId: wx01f0f43759922fda
    staffSecret: b0a5617e6e4c387262a32af2b355c8b6
    pay:
        v3:
            #  租户id
            miniapp:
                #  应用appId  服务商模式下为服务商的appid 必填
                app-id: wxd1a6ba7b5e17a5b6
                #  v2 api 密钥  1.0.5版本以后如果用到V2的接口时必填
                app-secret: 06e946a2c9010f8eb9e306018a779a7f
                #  api v3 密钥 必填
                app-v3-secret: 19971022197001121966060120240731
                #  微信支付商户号 服务商模式下为服务商的mchid 必填
                mch-id: 1665639691
                #  商户服务器域名 用于回调  需要放开回调接口的安全策略 必填
                domain: https://api-test.catmdogd.com
                #  商户 api 证书路径 必填  填写classpath路径 位于 maven项目的resources文件下
                cert-path: apiclient_cert.p12
                #cert-path: /data/software/app/key/apiclient_cert.p12


sms:
  enabled: true
  # 阿里云 dysmsapi.aliyuncs.com
  endpoint: dysmsapi.aliyuncs.com
  accessKeyId: LTAI5tKHcnnn2Ydue8ZSXwaN #阿里云短信服务控制台查看
  accessKeySecret: 6qvhtCb9MkswKEGmRmlpOXwtKwKJFv #同上
  signName: 猫妈狗爸
  #猫妈狗爸
  templateId: SMS_301225389
  # 腾讯专用
  sdkAppId:
aes:
  # aes的密钥
  key: 1111111111123456







# 伴宠师-相关配置信息
wechat-admin:
    enabled: true
    appId: wx01f0f43759922fda
    secret: b0a5617e6e4c387262a32af2b355c8b6
    merchantId: 1665639691
    privateKeyPath: ruoyi-admin/src/main/resources/apiclient_cert.p12
    #privateKeyPath: /Users/daixiande/Work/杂七杂八/1665639691_20240111_cert/apiclient_key.pem
    merchantSerialNumber: 6050244FC18200362585F1F9FD6557A1B291E8C0
    apiV3key: 19971022197001121966060120240731
    apiV2key: 19961022196901121965060120230731
    notifyUrl: https://api.catmdogd.com/prod-api/no-auth/wechat/notify
    notifyUrlForBCHSH: https://api.catmdogd.com/prod-api/no-auth/wechat/notifyForBCHSH
    miniProgramAppId: wxd1a6ba7b5e17a5b6
    miniProgramSecret: 06e946a2c9010f8eb9e306018a779a7f
    staffAppId: wx01f0f43759922fda
    staffSecret: b0a5617e6e4c387262a32af2b355c8b6
    pay:
        v3:
            #  租户id
            miniapp:
                #  应用appId  服务商模式下为服务商的appid 必填
                app-id: wxd1a6ba7b5e17a5b6
                #  v2 api 密钥  1.0.5版本以后如果用到V2的接口时必填
                app-secret: 06e946a2c9010f8eb9e306018a779a7f
                #  api v3 密钥 必填
                app-v3-secret: 19971022197001121966060120240731
                #  微信支付商户号 服务商模式下为服务商的mchid 必填
                mch-id: 1665639691
                #  商户服务器域名 用于回调  需要放开回调接口的安全策略 必填
                domain: https://api-test.catmdogd.com
                #  商户 api 证书路径 必填  填写classpath路径 位于 maven项目的resources文件下
                cert-path: apiclient_cert.p12
                #cert-path: /data/software/app/key/apiclient_cert.p12







