Commit b671da3e by 冷斌

fix bug

parent d85ba641
...@@ -15,8 +15,6 @@ class Progress ...@@ -15,8 +15,6 @@ class Progress
{ {
// 进度报告地址 // 进度报告地址
$log_file = $new_file.'.log'; $log_file = $new_file.'.log';
var_dump($log_file);
die;
if(is_file($log_file)){ if(is_file($log_file)){
$log = file_get_contents($log_file); $log = file_get_contents($log_file);
// 从报告中检测是否存在处理完成字段 // 从报告中检测是否存在处理完成字段
......
...@@ -9,6 +9,8 @@ class Segment ...@@ -9,6 +9,8 @@ class Segment
{ {
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