正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -47,7 +47,7 @@ public function handle() | @@ -47,7 +47,7 @@ public function handle() | ||
| 47 | */ | 47 | */ |
| 48 | public function websiteHandle() | 48 | public function websiteHandle() |
| 49 | { | 49 | { |
| 50 | - $info = Redis::rpop('handle_html'); | 50 | + $info = Redis::rpop(env('REDIS_NAME','handle_html')); |
| 51 | if (!empty($info)) { | 51 | if (!empty($info)) { |
| 52 | $this->output('网站更新开始'); | 52 | $this->output('网站更新开始'); |
| 53 | $noticeController = new NoticeController(); | 53 | $noticeController = new NoticeController(); |
| @@ -260,7 +260,7 @@ public function websiteHtml(Request $request) | @@ -260,7 +260,7 @@ public function websiteHtml(Request $request) | ||
| 260 | "zip_count" => $zip_count | 260 | "zip_count" => $zip_count |
| 261 | ]; | 261 | ]; |
| 262 | $info = json_encode($info); | 262 | $info = json_encode($info); |
| 263 | - Redis::lpush('handle_html', $info); | 263 | + Redis::lpush(env('REDIS_NAME','handle_html'), $info); |
| 264 | return $this->success(); | 264 | return $this->success(); |
| 265 | } | 265 | } |
| 266 | 266 |
-
请 注册 或 登录 后发表评论