package com.zsElectric.boot.core.pay.WFT;

/**
 * 威富通支付相关配置常量
 *
 * @author zsElectric
 * @since 2025-12-29
 */
public interface WFTConstants {

    /**
     * 威富通支付网关地址
     */
    String WFT_GATEWAY_URL = "https://pay.swiftpass.cn/pay/gateway";

    /**
     * 接口类型 - JSAPI支付
     */
    String SERVICE_TYPE_JSPAY = "pay.weixin.jspay";

    /**
     * 版本号
     */
    String VERSION = "2.0";

    /**
     * 字符集
     */
    String CHARSET = "UTF-8";

    /**
     * md5密钥
     */
    String md5key = "f5131b3f07acb965a59041b690a29911";

    /**
     * 签名类型 - MD5
     */
    String SIGN_TYPE_MD5 = "MD5";

    /**
     * 签名类型 - RSA_1_256
     */
    String SIGN_TYPE_RSA_256 = "RSA_1_256";

    /**
     * 签名类型 - RSA_1_1
     */
    String SIGN_TYPE_RSA_1 = "RSA_1_1";

    /**
     * 商户号（从配置文件读取）
     */
    String WFT_MCH_ID = "105520131602";

    /**
     * 商户私钥（从配置文件读取）
     */
    String WFT_PRIVATE_KEY = "MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDeFB5G2OYT762PpUytCw7Du40i6WnzcmbvEE9IXPXi+QirPwMvW9mBqNDIUk5hQS3ZnHjj80YQRWG6yksjE6kHAYIWahCDiaPlBqYvYSJ8ePzbT61THZJbzqFaIG3svW7xq9nsUmzVBub0ATIzC1DQRu9ZTdrj/iuMUEhJyJ8IHrTP09eTwNYdoagHQlKWRVoNE3LuU4GXG3VCbkQ2ixbMo8dXBisDIi3GYOSFWzota6H+OCp9Mta1jTqdwALKAU9PNlRkQwOMLk2OmMqGUhImVVpl+eGrIYn3iARce0alNFg8hghFMJ8MKpSxJDM6YHNOJQ06S25YYhTpd+C2/VOBAgMBAAECggEBAM/W9ksJ/bJU0xOn+W3N9oB7C+jLmMwtmmZM1lZ8IefNeC6Ep59wD81ISDXiydY9YQLTbVSxPjZGKOPfJZjrcnrLD4uYsmHYtFnI8klPWC40MTmzhRxPhcW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T7Zy6zX9n8OwGRA==";

    /**
     * 威富通平台公钥（用于验签）
     */
    String WFT_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2HOacYJOO9zsWPVmauV/YCeR78RsRDtusdLEngi/JkPkZVSE0X47z2RpJncGyV1QfdHv0udVEND4bvjXku4qUJp5DYAulm6pDXdcwWPcdI77V7dqoDvYm9Cc8kGj9s+/0xeuxX4qJmwzFTf7XjRfTT7+OVSvFnnButAkgMuD3cW1rtcQYeY9S9puQneN1i1+Lek5GCpW5PFsezK6QMgrpB1TFVSF5tloUODfc4fBDY5quGxn29Fo9gzJXO8ehoRft/JEaS4rNqmlfbvaJfEROXALlKoUX8Iki050ss7WwIBS6xuV08JnHTUHzHmAzOscwyYmT3RZChPgluWuyYW30wIDAQAB";

    /**
     * 支付通知回调地址
     */
    String WFT_NOTIFY_URL = "https://1477cfb9.r28.cpolar.top/api/wft/payNotify";

    /**
     * 原生JS标识
     */
    String IS_RAW = "1";

    /**
     * 小程序支付标识
     */
    String IS_MINIPG = "1";

    /**
     * 返回状态码 - 成功
     */
    String STATUS_SUCCESS = "0";

    /**
     * 业务结果 - 成功
     */
    String RESULT_CODE_SUCCESS = "0";
}
