<?php
namespace Our;
/**
 * 支付相关参数配置
 * User: liuyuzhen
 * Date: 2018/7/3
 * Time: 14:20
 * Description:
 */
class PayConst {
    const wxPayAppId = 'wxc216b338d11dd478';
    const wxLiteAppId = 'wxab22edc34913554b';
    const wxPayMchId = '1507388351';
    const wxPaySecret = 'appSecret';
    const wxPayKey = 'kt4gh9FzzlaoPBY074iuF4ZbNmMKc3mS';
    const wxSslcertPath = '/application/library/Payment/cert/wx/apiclient_cert.pem';
    const wxSslkeyPath = '/application/library/Payment/cert/wx/apiclient_key.pem';

    //服务商appId和服务商payKey
    const wxSPayAppId = 'wxd89203f7621015b7';
    const wxSPayMchId = '1517411161';
    const wxSPayKey = 'z6o0aQ4Gbceaymj6BKm9PYPjHaUJGokJ';
    const wxServiceSslcertPath = '/application/library/Payment/cert/wxservice/1517411161_20181102_cert.pem';
    const wxServiceSslkeyPath = '/application/library/Payment/cert/wxservice/1517411161_20181102_key.pem';

    const wxPayUrl  = 'https://api.mch.weixin.qq.com/pay/unifiedorder';

    const qPayAppId = 'qPayAppId';
    const qPayMchId = 'qPayMchId';
    const qPayKey = 'aPayKey';

    const qqSslcertPath = '/application/library/Payment/cert/qq/apiclient_cert.pem';
    const qqSslkeyPath = '/application/library/Payment/cert/qq/apiclient_key.pem';
    const qqPayUrl  = 'https://qpay.qq.com/cgi-bin/pay/qpay_unified_order.cgi';

    const alipayAppId = '2017102509512276';
    const merchantPrivateKey = 'MIIEpQIBAAKCAQEAuuiMPUDWb2KDrMOL+Nxd2V8t5KVCKH2RwnHWzcWsdUbpbIGRDrdG6CztQr0sbD6QXcquQWxeX8niTMg+AgL2tOADqRmhGs4SnWsHFM5U117tMp8l0UFVJdi77ipKmqZ3wrauCdmF8R6g1MbAm52mi72fykIV2j1elDeHu8VBASKczRRvfI22mekq86jIxO+/6qwj+nGCoDkQ001zsUHuGNXmGprt2Tr08JaenDJWTRH+mfOQtIAvrC6iUTHQL1pvg/oPIEAxlImF2XUN8ENaoci7tMKTrQBjvn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YtlipxBd7RFAFC55men9617nmfKstr8usp+Aydw2DUCgYEAju/kuN8//IVoZZOatkb4/DmAyLfGJ1ZJwowY0uksFrTOOfGxYSCDxfK2PHDrfgtaRCT6mb3nQIBljELvwAN6N/fFFMK+PuaMLvkevII6QbGgqNkXewCQyHZDxsqAxtEEJazz6a+Nqra8LS0nXmr2iFRKgw6JIY4wDXMW3g39Ihk=';
    const alipaySignType = 'RSA2';
    const alipayCharset="UTF-8";
    const format='json';
    const alipayApiVersion='1.0';
    const alipayGatewayUrl = 'https://openapi.alipay.com/gateway.do';
    const alipayPublicKey = 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlnxDEAQLq9g9KBL8N+Kwr83b4xAl2GNa8E9lKjrgObsnIHwxCei4eASWvGFyFtau418aQvdFD9scR0mxw8NOB2QSmvJpeh2Ov5Cihh3dmR6jIDIEP7iCTHZQHv2tvM3DuxuUZSBK4oKD7kughmhVbu/fy4PGYLKcoHNuFVqajRxCS5/GXfce9dOGIk5+UFMzOi1m377qqpRK2SLMHO2tse0MTNznyKUgGHUGUlhvQwCnxF8FZx/RUUJPHcuaWxTnY8C9aQL2iaWKrwE3JPiE18m8g0NfBu/4E0VpLzPZCsoH2naHt1ORtMy0gnFH4FusdFapGatuMIb0LKJxhzsBTQIDAQAB';



    const wxAppNotifyUrl = '/pay/wxAppNotify.php';
    const aliAppNotifyUrl = '/pay/aliAppNotify.php';
    const wxLiteNotifyUrl = '/pay/wxLiteNotify.php';
    const qPayNotifyUrl = '/pay/qPayNotify.php';



    const wxAppTradeType = 'APP';
    const wxLiteTradeType = 'JSAPI';
    const qqAppTradeType = 'APP';

    const qqSignType = 'HMAC-SHA1';
}