stanley-king il y a 3 ans
Parent
commit
0104c5f171
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      admin/control/refill_order.php

+ 3 - 3
admin/control/refill_order.php

@@ -184,13 +184,13 @@ class refill_orderControl extends SystemControl
 
             if($task->waiting()) {
                 $sec = time() - $task->add_time();
-                $comment = "已经加入后台任务,正在等待{$sec}秒";
+                $comment = "已经加入后台任务,已经等待{$sec}秒";
             } elseif($task->processing()) {
                 $sec = time() - $task->act_time();
                 $comment = "正在处理中,已经执行{$sec}秒";
             } else {
-                $sec = time() - $task->fini_time();
-                $comment = "已经完成{$sec}秒";
+                $sec = $task->fini_time() - $task->act_time();
+                $comment = "执行完成,共耗时{$sec}秒";
             }
 
             Tpl::output('stat_tip', $comment);