正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -260,6 +260,7 @@ class VideoTask extends Command | @@ -260,6 +260,7 @@ class VideoTask extends Command | ||
| 260 | } | 260 | } |
| 261 | }else{ | 261 | }else{ |
| 262 | $products = Product::where('thumb','!=',null)->where("status",Product::STATUS_ON)->inRandomOrder()->take(20)->pluck('id')->toArray(); | 262 | $products = Product::where('thumb','!=',null)->where("status",Product::STATUS_ON)->inRandomOrder()->take(20)->pluck('id')->toArray(); |
| 263 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($products, true) . PHP_EOL, FILE_APPEND); | ||
| 263 | } | 264 | } |
| 264 | $data = []; | 265 | $data = []; |
| 265 | if (!empty($products)){ | 266 | if (!empty($products)){ |
-
请 注册 或 登录 后发表评论