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