|
|
@@ -94,7 +94,7 @@ class TradeService extends BaseService
|
|
|
->where('a.status','>', 0)
|
|
|
->where(function($query) use($type){
|
|
|
if($type){
|
|
|
- $query->where('create_time','>=', strtotime(date('Y-m-d')));
|
|
|
+ $query->where('a.create_time','>=', strtotime(date('Y-m-d')));
|
|
|
}
|
|
|
})
|
|
|
->where(function ($query) use ($params) {
|