...
|
...
|
@@ -141,6 +141,7 @@ class Business extends Base |
|
|
->join('verification_coupon d','c.verification_coupon_id=d.id')
|
|
|
->field($field)
|
|
|
->join('user e','c.user_id=e.id')
|
|
|
->order("a.id","DESC")
|
|
|
->where($where)
|
|
|
->find();
|
|
|
$this->success('查询成功',$cancel);
|
...
|
...
|
@@ -171,7 +172,7 @@ class Business extends Base |
|
|
->join('user e','c.user_id=e.id')
|
|
|
->whereOr($wheres)
|
|
|
->where($where)
|
|
|
->order("id","DESC")
|
|
|
->order("a.id","DESC")
|
|
|
->paginate($total, false, ['page' => $page])
|
|
|
->toArray();
|
|
|
$this->success('查询成功',$cancel);
|
...
|
...
|
|