From 699593080646187464d2407da5e6da4dba1d78b5 Mon Sep 17 00:00:00 2001 From: cody <648753004@qq.com> Date: Sun, 24 Aug 2025 10:03:50 +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 3e40c56..e29ba42 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_id', $all['to_user_id'])->where('to_user_id', $all['user_id']); + $query->where('user_id1', $all['to_user_id'])->where('to_user_id', $all['user_id']); })->first(); if (empty($dialogue)) { return $this->fail([ResponseCode::ERROR_BUSINESS, '会话不存在']);