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'));