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