addHour()); return $key; } /** * @param ?string $inputName * @return array */ public static function cache_decode(?string $inputName = 'key'): array { $key = Request::input($inputName); $base64 = Cache::get("down::{$key}"); if (empty($base64)) { return Base::ajaxError("请求已过期,请重新导出!", [], 0, 403); } // return Base::string2array(base64_decode($base64)); } }