|
|
|
|
@ -53,7 +53,7 @@ class SupplyDemandController extends CommonController
|
|
|
|
|
$query->select('id', 'nickname', 'name', 'headimgurl', 'username');
|
|
|
|
|
}
|
|
|
|
|
])->where(function ($query) use ($all, $status) {
|
|
|
|
|
if($status){
|
|
|
|
|
if ($status != -1) {
|
|
|
|
|
$query->where('status', $status);
|
|
|
|
|
}
|
|
|
|
|
if (isset($all['type'])) {
|
|
|
|
|
|