public static function init() { if (!self::$curl) { self::$curl = curl_init(); } curl_setopt(self::$curl, CURLOPT_RETURNTRANSFER, TRUE); //获取到数据后不直接打印出来 }