src/Common/Cmb/CmbBaseStrategy.php
public function handle(array $data)
    {
        $buildClass = $this->getBuildDataClass();

        try {
            $this->reqData = new $buildClass($this->config, $data);
        } catch (PayException $e) {
            throw $e;
        }

        $this->reqData->setSign();

        $data = $this->reqData->getData();

        return $this->retData($data);
    }
public function handle(array $data)
    {
        $buildClass = $this->getBuildDataClass();

        try {
            $this->reqData = new $buildClass($this->config, $data);
        } catch (PayException $e) {
            throw $e;
        }

        $this->reqData->setSign();

        $data = $this->reqData->getData();

        return $this->retData($data);
    }
public function handle ( array $ data ) { $ buildClass = $ this -> getBuildDataClass ( ) ; try { $ this -> reqData = new $ buildClass ( $ this -> config , $ data ) ; } catch ( PayException $ e ) { throw $ e ; } $ this -> reqData -> setSign ( ) ; $ data = $ this -> reqData -> getData ( ) ; return $ this -> retData ( $ data ) ; }
所有支付能力的入口
@param array $data
@return mixed
@throws PayException
所有支付能力的入口