dyjh 6 年之前
父節點
當前提交
f9b833797b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Http/Controllers/Api/V1/AlbumBossController.php

+ 2 - 2
app/Http/Controllers/Api/V1/AlbumBossController.php

@@ -405,7 +405,7 @@ class AlbumBossController extends Controller
             $Start = mktime(0, 0, 0, date('m'), date('d'), date('y')) + 86400 * $d;
             $Start = mktime(0, 0, 0, date('m'), date('d'), date('y')) + 86400 * $d;
             $End = $Start + 86400;
             $End = $Start + 86400;
             $End = date('Y-m-d H:i:s', $End);
             $End = date('Y-m-d H:i:s', $End);
-            $Start = date('Y-m-d H:i:s', $Start);dd(11);
+            $Start = date('Y-m-d H:i:s', $Start);
             $customerNum = AlbumWatchRecord::where([
             $customerNum = AlbumWatchRecord::where([
                 ['store_id', $store_id],
                 ['store_id', $store_id],
                 ['updated_at','>=',$Start],
                 ['updated_at','>=',$Start],
@@ -416,7 +416,7 @@ class AlbumBossController extends Controller
                 ['is_new', 1],
                 ['is_new', 1],
                 ['updated_at','>=',$Start],
                 ['updated_at','>=',$Start],
                 ['updated_at','<=',$End]
                 ['updated_at','<=',$End]
-            ])->orderByDesc('id')->count();
+            ])->orderByDesc('id')->count();dd(11);
             $activeCustomers[] = [
             $activeCustomers[] = [
                 'day' => date('m', $Start) . '-' . date('d', $End),
                 'day' => date('m', $Start) . '-' . date('d', $End),
                 'num' => $customerNum
                 'num' => $customerNum