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

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

xqd
@@ -301,7 +301,7 @@ class AlbumBossController extends Controller
             ['store_id', $data['store_id']],
             ['updated_at','>=',$start],
             ['updated_at','<=',$end]
-        ])->orderByDesc('id')->groupBy('open_id')->all();
+        ])->orderByDesc('id')->groupBy('open_id')->get();
         $totalCustomerCount = count($totalCustomer);
 
         return $this->api(compact('shareCount', 'totalCustomerCount', 'newCustomerCount', 'downloadCount', 'favoriteCount'));