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'])) {