/**
  * 接口调用
  * @param  string $request_url 接口请求地址
  * @param  array  $options     CURL请求附加参数
  * @return EpiCurlManager
  */
 public static function call($request_url, $options = array())
 {
     if (empty(self::$epiCurl)) {
         self::$epiCurl = EpiCurl::getInstance();
     }
     return self::$epiCurl->addUrl($request_url, $options);
 }
Beispiel #2
0
 function __construct($key)
 {
     $this->key = $key;
     $this->epiCurl = EpiCurl::getInstance();
 }