|
@@ -80,6 +80,7 @@ class AcceptorService extends BaseService
|
|
|
$datas = $this->model->from('acceptor as a')
|
|
$datas = $this->model->from('acceptor as a')
|
|
|
->leftJoin('member as b', 'b.id', '=', 'a.user_id')
|
|
->leftJoin('member as b', 'b.id', '=', 'a.user_id')
|
|
|
->where(['a.mark' => 1, 'b.mark' => 1])
|
|
->where(['a.mark' => 1, 'b.mark' => 1])
|
|
|
|
|
+ ->whereIn('a.quota','>',0)
|
|
|
->whereIn('a.trade_status', [1, 2])
|
|
->whereIn('a.trade_status', [1, 2])
|
|
|
->where(function ($query) use ($params) {
|
|
->where(function ($query) use ($params) {
|
|
|
$kw = isset($params['kw']) ? trim($params['kw']) : '';
|
|
$kw = isset($params['kw']) ? trim($params['kw']) : '';
|