rabin há 3 anos atrás
pai
commit
163a5fd6af
1 ficheiros alterados com 4 adições e 0 exclusões
  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;
         }