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