src/Common/Cmb/CmbBaseStrategy.php
protected function retData(array $ret)
    {
        $json = json_encode($ret, JSON_UNESCAPED_UNICODE);

        $reqData = [
            'url' => $this->config->getewayUrl,
            'name' => CmbConfig::REQ_FILED_NAME,
            'value' => $json,
        ];
        return $reqData;
    }
protected function retData(array $ret)
    {
        $json = json_encode($ret, JSON_UNESCAPED_UNICODE);

        $reqData = [
            'url' => $this->config->getewayUrl,
            'name' => CmbConfig::REQ_FILED_NAME,
            'value' => $json,
        ];
        return $reqData;
    }
protected function retData ( array $ ret ) { $ json = json_encode ( $ ret , JSON_UNESCAPED_UNICODE ) ; $ reqData = [ 'url' => $ this -> config -> getewayUrl , 'name' => CmbConfig :: REQ_FILED_NAME , 'value' => $ json , ] ; return $ reqData ; }
处理微信的返回值并返回给客户端
@param array $ret
@return mixed
@author helei
处理微信的返回值并返回给客户端