作者 刘锟

update

... ... @@ -47,7 +47,7 @@ public function handle()
*/
public function websiteHandle()
{
$info = Redis::rpop('handle_html');
$info = Redis::rpop(env('REDIS_NAME','handle_html'));
if (!empty($info)) {
$this->output('网站更新开始');
$noticeController = new NoticeController();
... ...
... ... @@ -260,7 +260,7 @@ public function websiteHtml(Request $request)
"zip_count" => $zip_count
];
$info = json_encode($info);
Redis::lpush('handle_html', $info);
Redis::lpush(env('REDIS_NAME','handle_html'), $info);
return $this->success();
}
... ...