dyjh %!s(int64=6) %!d(string=hai) anos
pai
achega
08f04d9733
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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'));