dyjh 6 năm trước cách đây
mục cha
commit
08f04d9733
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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'));