stanley-king před 3 roky
rodič
revize
0104c5f171
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  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);