...
|
...
|
@@ -139,22 +139,22 @@ class Rider extends Api |
|
|
->where('sendtime','>',$todaytime)
|
|
|
->count();
|
|
|
$seven = $model
|
|
|
->where('fa_rider_order.user_id',$this->auth->id)
|
|
|
->where('user_id',$this->auth->id)
|
|
|
->where('status','2')
|
|
|
->where('fa_rider_order.status','>',$seventime)
|
|
|
->where('sendtime','>',$seventime)
|
|
|
->sum('price');
|
|
|
$sevencount = $model
|
|
|
->where('fa_rider_order.user_id',$this->auth->id)
|
|
|
->where('user_id',$this->auth->id)
|
|
|
->where('status','2')
|
|
|
->where('fa_rider_order.status','>',$seventime)
|
|
|
->where('sendtime','>',$seventime)
|
|
|
->count();
|
|
|
$all = $model
|
|
|
->where('fa_rider_order.user_id',$this->auth->id)
|
|
|
->where('fa_rider_order.status','2')
|
|
|
->where('user_id',$this->auth->id)
|
|
|
->where('status','2')
|
|
|
->sum('price');
|
|
|
$allcount = $model
|
|
|
->where('fa_rider_order.user_id',$this->auth->id)
|
|
|
->where('fa_rider_order.status','2')
|
|
|
->where('user_id',$this->auth->id)
|
|
|
->where('status','2')
|
|
|
->count();
|
|
|
$data['today_price'] = $today;
|
|
|
$data['seven_price'] = $seven;
|
...
|
...
|
|