wupengfei 2 rokov pred
rodič
commit
cbe7b29dc5
1 zmenil súbory, kde vykonal 1 pridanie a 3 odobranie
  1. 1 3
      application/api/controller/Timedtask.php

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

@@ -41,10 +41,8 @@ class Timedtask
     {
         $month = date('m');
         $clean_set = sysconf('integral_clean');
-        var_dump($month,$clean_set);
-        if($month == 1 && $clean_set != date('Y-m-d'))
+        if($month == 11 && $clean_set != date('Y-m-d'))
         {
-            var_dump(6666);
             Db::name('system_config')->where(['integral_clean'=>date('Y-m-d')]);
             $user_list = Db::name('store_member')->field('id,integral')->where('integral','>',0)->select();
             foreach ($user_list as $v) {