| xqd
@@ -437,7 +437,11 @@ class AlbumBossController extends Controller
|
|
|
$end = date('Y-m-d H:i:s', $end);
|
|
|
$start = date('Y-m-d H:i:s', $start);
|
|
|
|
|
|
- $customerFollow = CustomerDetailsModel::where('store_id', $store_id)->count();
|
|
|
+ $customerFollow = CustomerDetailsModel::where([
|
|
|
+ ['store_id', $store_id],
|
|
|
+ ['updated_at','>=',$start],
|
|
|
+ ['updated_at','<=',$end]
|
|
|
+ ])->count();
|
|
|
$downloadCount = AlbumWatchRecord::where([
|
|
|
['store_id', $store_id],
|
|
|
['action', 9],
|