rabin 3 年之前
父节点
当前提交
163a5fd6af
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      app/cash/lib/Cron.php

+ 4 - 0
app/cash/lib/Cron.php

@@ -8,6 +8,10 @@ class Cron
 {
     private function check($info)
     {
+        $type = Dever::input('type');
+        if ($type && $type == 1) {
+            return true;
+        }
         if (!$info['stat_day']) {
             $info['stat_day'] = 1;
         }