src/Red/WxRed.php
protected function createBackData(array $data)
    {
        $retData = [
            'is_success'    => 'T',
            'response'  => [
                'mch_billno'   => $data['mch_billno'],
                'send_listid'  => $data['send_listid'],
                'total_amount' => $data['total_amount'],
                're_openid'    => $data['re_openid'],
                'wxappid'      => $data['wxappid'],
                'mch_id'       => $data['mch_id'],
                'channel'   => Config::WX_RED,
            ],
        ];

        return $retData;
    }
protected function createBackData(array $data)
    {
        $retData = [
            'is_success'    => 'T',
            'response'  => [
                'mch_billno'   => $data['mch_billno'],
                'send_listid'  => $data['send_listid'],
                'total_amount' => $data['total_amount'],
                're_openid'    => $data['re_openid'],
                'wxappid'      => $data['wxappid'],
                'mch_id'       => $data['mch_id'],
                'channel'   => Config::WX_RED,
            ],
        ];

        return $retData;
    }
protected function createBackData ( array $ data ) { $ retData = [ 'is_success' => 'T' , 'response' => [ 'mch_billno' => $ data [ 'mch_billno' ] , 'send_listid' => $ data [ 'send_listid' ] , 'total_amount' => $ data [ 'total_amount' ] , 're_openid' => $ data [ 're_openid' ] , 'wxappid' => $ data [ 'wxappid' ] , 'mch_id' => $ data [ 'mch_id' ] , 'channel' => Config :: WX_RED , ] , ] ; return $ retData ; }
返回数据
@param array $data
@return array
返回数据