shish 8 miesięcy temu
rodzic
commit
57e0f79334
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app-ghs/controllers/CustomController.php

+ 1 - 1
app-ghs/controllers/CustomController.php

@@ -778,7 +778,7 @@ class CustomController extends BaseController
             $where['level'] = 0;
         } else if ($type == 5) {
             //休眠客户
-            $recentDay = isset($get['recentDay']) && is_numeric($get['recentDay']) ? (int)$get['recentDay'] : 7;
+            $recentDay = isset($get['recentDay']) && is_numeric($get['recentDay']) ? (int)$get['recentDay'] : 30;
             $totalSecond = bcmul(86400, $recentDay);
             $currentSecond = bcsub(time(), $totalSecond);
             $currentDate = date("Y-m-d H:i:s", $currentSecond);