示例#1
0
 private function getOrderResponse($url, $method = 'GET', $postfields = false)
 {
     //print_r($postfields);exit;
     $etHttpObj = new etHttpUtils($this->consumer, $url, true, $method);
     if ($postfields) {
         $etHttpObj->setPostfields($postfields);
     }
     $etHttpObj->GetResponse();
     return $etHttpObj->response_body;
 }