From 6512d514e0ef05a2f981c79e49e6e636301177ce Mon Sep 17 00:00:00 2001 From: cody <648753004@qq.com> Date: Mon, 18 Aug 2025 20:22:16 +0800 Subject: [PATCH] update --- app/Http/Controllers/Mobile/SupplyDemandController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Http/Controllers/Mobile/SupplyDemandController.php b/app/Http/Controllers/Mobile/SupplyDemandController.php index 75ee8eb..20e60fa 100755 --- a/app/Http/Controllers/Mobile/SupplyDemandController.php +++ b/app/Http/Controllers/Mobile/SupplyDemandController.php @@ -252,8 +252,7 @@ class SupplyDemandController extends CommonController // 创建一条会话 $dialogue = Dialogue::create([ 'user_id' => $this->getUserId(), - 'to_user_id' => $all['to_user_id'], - 'supply_demand_id' => $all['supply_demand_id'] ?? 0 + 'to_user_id' => $all['to_user_id'] ]); } if (isset($all['supply_demand_id'])) {