wupengfei hace 2 años
padre
commit
a36c81dbd8
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      application/api/controller/Timedtask.php

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

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