From 6219185dcd6313524c9e26c3ab255b046d8d439f Mon Sep 17 00:00:00 2001 From: cody <648753004@qq.com> Date: Sun, 24 Aug 2025 10:05:00 +0800 Subject: [PATCH] update --- app/Http/Controllers/Admin/SupplyDemandController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Admin/SupplyDemandController.php b/app/Http/Controllers/Admin/SupplyDemandController.php index e29ba42..3e40c56 100755 --- a/app/Http/Controllers/Admin/SupplyDemandController.php +++ b/app/Http/Controllers/Admin/SupplyDemandController.php @@ -373,7 +373,7 @@ class SupplyDemandController extends BaseController $dialogue = Dialogue::where(function ($query) use ($all) { $query->where('user_id', $all['user_id'])->where('to_user_id', $all['to_user_id']); })->orWhere(function ($query) use ($all) { - $query->where('user_id1', $all['to_user_id'])->where('to_user_id', $all['user_id']); + $query->where('user_id', $all['to_user_id'])->where('to_user_id', $all['user_id']); })->first(); if (empty($dialogue)) { return $this->fail([ResponseCode::ERROR_BUSINESS, '会话不存在']);