master
cody 5 months ago
parent 144bfaa097
commit 054262fd74

@ -254,7 +254,7 @@ class SupplyDemandController extends CommonController
->first(); ->first();
// 对方的信息 // 对方的信息
$otherMessage = Message::where('user_id', $all['to_user_id']) $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) ->where('dialogue_id', $dialogue->id)
->first(); ->first();
if ($myMessage && empty($otherMessage)) { if ($myMessage && empty($otherMessage)) {

Loading…
Cancel
Save