src/Gateways/Alipay.php
public function apply(array $options)
    {
        $options['product_code'] = $this->getProductCode();
        $this->config['biz_content'] = json_encode($options);
        $this->config['method'] = $this->getMethod();
        $this->config['sign'] = $this->getSign();
    }
public function apply(array $options)
    {
        $options['product_code'] = $this->getProductCode();
        $this->config['biz_content'] = json_encode($options);
        $this->config['method'] = $this->getMethod();
        $this->config['sign'] = $this->getSign();
    }
public function apply ( array $ options ) { $ options [ 'product_code' ] = $ this -> getProductCode ( ) ; $ this -> config [ 'biz_content' ] = json_encode ( $ options ) ; $ this -> config [ 'method' ] = $ this -> getMethod ( ) ; $ this -> config [ 'sign' ] = $ this -> getSign ( ) ; }
应用参数
@param array $options
@return mixed|void
应用参数