|
@@ -480,12 +480,7 @@ class AlbumBossController extends Controller
|
|
['updated_at','>=',$start],
|
|
['updated_at','>=',$start],
|
|
['updated_at','<=',$end]
|
|
['updated_at','<=',$end]
|
|
])->orderByDesc('id')->groupBy('open_id')->get();
|
|
])->orderByDesc('id')->groupBy('open_id')->get();
|
|
- $totalCustomerCount = AlbumWatchRecord::where([
|
|
|
|
- ['store_id', $store_id],
|
|
|
|
- ['updated_at','>=',$start],
|
|
|
|
- ['updated_at','<=',$end]
|
|
|
|
- ])->orderByDesc('id')->groupBy('open_id')->count();print_r($totalCustomer);print_r($end);
|
|
|
|
- dd($start);
|
|
|
|
|
|
+ $totalCustomerCount = count($totalCustomer);
|
|
return $this->api(compact('totalCustomerCount', 'newCustomerCount', 'shareCount', 'downloadCount', 'customerFollow'));
|
|
return $this->api(compact('totalCustomerCount', 'newCustomerCount', 'shareCount', 'downloadCount', 'customerFollow'));
|
|
}
|
|
}
|
|
|
|
|