src/Charge/Wx/WxBarCharge.php
protected function retData(array $ret)
    {
        $ret['total_fee'] = bcdiv($ret['total_fee'], 100, 2);
        $ret['cash_fee'] = bcdiv($ret['cash_fee'], 100, 2);

        if ($this->config->returnRaw) {
            return $ret;
        }

        return $ret;
    }
protected function retData(array $ret)
    {
        $ret['total_fee'] = bcdiv($ret['total_fee'], 100, 2);
        $ret['cash_fee'] = bcdiv($ret['cash_fee'], 100, 2);

        if ($this->config->returnRaw) {
            return $ret;
        }

        return $ret;
    }
protected function retData ( array $ ret ) { $ ret [ 'total_fee' ] = bcdiv ( $ ret [ 'total_fee' ] , 100 , 2 ) ; $ ret [ 'cash_fee' ] = bcdiv ( $ ret [ 'cash_fee' ] , 100 , 2 ) ; if ( $ this -> config -> returnRaw ) { return $ ret ; } return $ ret ; }
返回的数据
@param array $ret
@return array
返回的数据