songxingwei 2 年之前
父節點
當前提交
57c8ca9629
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/api/controller/Timedtask.php

+ 1 - 1
application/api/controller/Timedtask.php

@@ -125,7 +125,7 @@ class Timedtask
             $now_time1 = date('Y-m-d 14:00:00');
             $end_time1 = date('Y-m-d 16:30:00');
             $strto = (strtotime($end_time)-strtotime($now_time))+(strtotime($end_time1)-strtotime($now_time1));
-            $num = ceil($all/($strto/6));
+            $num = ceil($all/($strto/5));
             $num_array =array();
             for ($i=$num-2;$i<=$num+2;$i++){
                 if ($i>0){