|
@@ -92,7 +92,8 @@ class GeneratePreviewVideo extends Command
|
|
|
->where('id', $item->id)
|
|
|
->update([
|
|
|
'preview_url' => $uploadPath . '/' . $previewName,
|
|
|
- 'status' => 1
|
|
|
+ 'status' => 1,
|
|
|
+ 'updated_at' => Carbon::now()
|
|
|
]);
|
|
|
|
|
|
//删除本地文件
|
|
@@ -103,7 +104,8 @@ class GeneratePreviewVideo extends Command
|
|
|
->where('id', $item->id)
|
|
|
->update([
|
|
|
'remark' => $e->getMessage(),
|
|
|
- 'status' => -1
|
|
|
+ 'status' => -1,
|
|
|
+ 'updated_at' => Carbon::now()
|
|
|
]);
|
|
|
}
|
|
|
}
|