From 71d500664e3dd5dc071de64e54c14c0027661694 Mon Sep 17 00:00:00 2001 From: cody <648753004@qq.com> Date: Sat, 9 Aug 2025 14:24:43 +0800 Subject: [PATCH] update --- app/Http/Controllers/Mobile/SupplyDemandController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Mobile/SupplyDemandController.php b/app/Http/Controllers/Mobile/SupplyDemandController.php index b6a276f..9e398f3 100755 --- a/app/Http/Controllers/Mobile/SupplyDemandController.php +++ b/app/Http/Controllers/Mobile/SupplyDemandController.php @@ -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'])) {