function __destruct() { file_put_contents("./cookie.txt", ""); //删除cookie WxSpider::clearCache(); //删除缓存 }