private static function exeBySetTimes($count, $curl) { $result = curl_exec($curl); if (curl_errno($curl)) { LogUtils::debug("请求错误: " . curl_errno($curl)); if ($count > 0) { $count--; $result = HttpManager::exeBySetTimes($count, $curl); } } return $result; }
public function close() { $params = array(); $params["action"] = "close"; $params["appkey"] = $this->appKey; HttpManager::httpPostJson($this->host, $params, false); }