资源简介

通联支付的扩展包,可以直接用于项目中,呼起通联支付的收银台,进而进行相应的支付

资源截图

代码片段和文件信息

/**
 * Created by PhpStorm.
 * User: HouJie
 * Date: 2018-1-18
 * Time: 19:07
 */

namespace Bqdove\AllinPay;

use Bqdove\AllinPay\Config\PaySign;
use Bqdove\AllinPay\Config\QuerySign;
use Bqdove\AllinPay\Config\ReceiveSign;
use Bqdove\AllinPay\Config\RefundSign;
use Bqdove\AllinPay\Supports\Encrypt;
use Bqdove\AllinPay\Supports\Form;
use Bqdove\AllinPay\Traits\HttpSocketTrait;
use Bqdove\AllinPay\Traits\ServiceTrait;
use Symfony\Component\HttpFoundation\Request;
use Bqdove\AllinPay\Supports\Collection;
use Bqdove\AllinPay\Exceptions\InvalidSignException;


class AllinPay
{
    use ServiceTrait;
    use HttpSocketTrait;

    /**
     * 通联支付参数
     * @var array
     */
    protected $config = [];

    /**
     * 初始化通联支付参数
     * AllinPay constructor.
     * @param array $config
     *

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-03-22 13:55  allinpay-1.0\
     文件          55  2018-03-22 13:55  allinpay-1.0\.gitignore
     文件        1064  2018-03-22 13:55  allinpay-1.0\LICENSE
     文件        4093  2018-03-22 13:55  allinpay-1.0\README.md
     文件         425  2018-03-22 13:55  allinpay-1.0\composer.json
     目录           0  2018-03-22 13:55  allinpay-1.0\src\
     文件        4655  2018-03-22 13:55  allinpay-1.0\src\AllinPay.php
     目录           0  2018-03-22 13:55  allinpay-1.0\src\Config\
     文件        2027  2018-03-22 13:55  allinpay-1.0\src\Config\PaySign.php
     文件         822  2018-03-22 13:55  allinpay-1.0\src\Config\QuerySign.php
     文件         733  2018-03-22 13:55  allinpay-1.0\src\Config\ReceiveSign.php
     文件         725  2018-03-22 13:55  allinpay-1.0\src\Config\RefundSign.php
     目录           0  2018-03-22 13:55  allinpay-1.0\src\Contracts\
     文件         354  2018-03-22 13:55  allinpay-1.0\src\Contracts\AllinPaySignConfig.php
     目录           0  2018-03-22 13:55  allinpay-1.0\src\Exceptions\
     文件        4671  2018-03-22 13:55  allinpay-1.0\src\Exceptions\AllinPayException.php
     文件         192  2018-03-22 13:55  allinpay-1.0\src\Exceptions\HttpSocketException.php
     文件         193  2018-03-22 13:55  allinpay-1.0\src\Exceptions\InvalidSignException.php
     目录           0  2018-03-22 13:55  allinpay-1.0\src\Supports\
     文件       10191  2018-03-22 13:55  allinpay-1.0\src\Supports\Arr.php
     文件        8495  2018-03-22 13:55  allinpay-1.0\src\Supports\Collection.php
     文件         467  2018-03-22 13:55  allinpay-1.0\src\Supports\Encrypt.php
     文件        1052  2018-03-22 13:55  allinpay-1.0\src\Supports\Form.php
     目录           0  2018-03-22 13:55  allinpay-1.0\src\Traits\
     文件        2750  2018-03-22 13:55  allinpay-1.0\src\Traits\HttpSocketTrait.php
     文件         717  2018-03-22 13:55  allinpay-1.0\src\Traits\ServiceTrait.php

评论

共有 条评论