shish 2 lat temu
rodzic
commit
21d3e3cc24
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

@@ -569,7 +569,7 @@ class CustomController extends BaseController
         } else if ($type == 3) {
         } else if ($type == 3) {
             $where['level'] = 0;
             $where['level'] = 0;
         } else if ($type == 4) {
         } else if ($type == 4) {
-            //最近消费时间
+            //最近7天未下单
             $recentDay = isset($get['recentDay']) && is_numeric($get['recentDay']) ? (int)$get['recentDay'] : 7;
             $recentDay = isset($get['recentDay']) && is_numeric($get['recentDay']) ? (int)$get['recentDay'] : 7;
             $totalSecond = bcmul(86400, $recentDay);
             $totalSecond = bcmul(86400, $recentDay);
             $currentSecond = bcsub(time(), $totalSecond);
             $currentSecond = bcsub(time(), $totalSecond);