Commit 2fdbb21f by 冷斌

fix bug

parent fb3e207d
...@@ -9,6 +9,8 @@ class ToMp4 ...@@ -9,6 +9,8 @@ class ToMp4
{ {
public function fire(Job $obj, $data) public function fire(Job $obj, $data)
{ {
var_dump($obj, $data);
die;
if (!is_file($data['file'])) { if (!is_file($data['file'])) {
// 删除本次任务 // 删除本次任务
$obj->delete(); $obj->delete();
......
...@@ -10,8 +10,6 @@ class ToTs ...@@ -10,8 +10,6 @@ class ToTs
{ {
public function fire(Job $obj, $data) public function fire(Job $obj, $data)
{ {
var_dump($obj, $data);
die;
if (!is_file($data['file'])) { if (!is_file($data['file'])) {
// 删除本次任务 // 删除本次任务
$obj->delete(); $obj->delete();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment