Explorar el Código

订单结算时间调整

xialei hace 1 año
padre
commit
753b8fd3d3
Se han modificado 1 ficheros con 6 adiciones y 6 borrados
  1. 6 6
      app/command/PensionTasks.php

+ 6 - 6
app/command/PensionTasks.php

@@ -46,8 +46,8 @@ class PensionTasks extends Command
46 46
         try {
47 47
             //线下符合条件的养老金收集(线下交易后第8天)
48 48
             $this->doOfflineOrderGzc($nowTime, $timeLimit = 1);
49
-            //在线订单符合条件的养老金收集(线上收货后第8天)
50
-            $this->doOnlineOrderGzc($timeLimit = 8);
49
+            //在线订单符合条件的养老金收集(线上收货后第30天)
50
+            $this->doOnlineOrderGzc($timeLimit = 30);
51 51
             //在线订单符合条件的话费养老金收集(话费到账后第1天)
52 52
             $this->doOnlineHuuafeiOrderGzc($timeLimit = 1);
53 53
             //第三方订单符合条件的养老金收集(三方结算后第2天)
@@ -351,10 +351,10 @@ class PensionTasks extends Command
351 351
                 if (!in_array($online['status'], [0, 1, 2, 3])) {
352 352
                     continue;
353 353
                 }
354
-                if (time() < strtotime($online['pay_time']) + 3600 * 24) {
355
-                    Log::info('还没有到收货后' . $timeLimit . '天');
356
-                    continue;
357
-                }
354
+                // if (time() < strtotime($online['pay_time']) + 3600 * 24) {
355
+                //     Log::info('还没有到收货后' . $timeLimit . '天');
356
+                //     continue;
357
+                // }
358 358
             } else {
359 359
                 if (!in_array($online['status'], [2, 3])) {
360 360
                     continue;