From 054262fd74256d29ef1b034c52fbe75bf4d203c1 Mon Sep 17 00:00:00 2001 From: cody <648753004@qq.com> Date: Thu, 3 Jul 2025 13:29:15 +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 1cf389a..aa4242d 100755 --- a/app/Http/Controllers/Mobile/SupplyDemandController.php +++ b/app/Http/Controllers/Mobile/SupplyDemandController.php @@ -254,7 +254,7 @@ class SupplyDemandController extends CommonController ->first(); // 对方的信息 $otherMessage = Message::where('user_id', $all['to_user_id']) - ->where('user_id', $this->getUserId()) + ->where('to_user_id', $this->getUserId()) ->where('dialogue_id', $dialogue->id) ->first(); if ($myMessage && empty($otherMessage)) {