From 8e647d80afe6f16ae946baa4be9733cbecfe2de3 Mon Sep 17 00:00:00 2001 From: mzl Date: Fri, 22 Aug 2025 18:27:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=A6=BB=E8=81=8C=E4=BA=BA?= =?UTF-8?q?=E5=91=98=E5=85=B3=E8=81=94=E7=9A=84=E8=AF=A2=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/model/InquiryLog.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/common/model/InquiryLog.php b/app/common/model/InquiryLog.php index 798b267..4d8b483 100644 --- a/app/common/model/InquiryLog.php +++ b/app/common/model/InquiryLog.php @@ -60,9 +60,13 @@ class InquiryLog extends Model return $this->hasOne(User::class, 'id', 'enter_user_id'); } + // public function recipientInfo() + // { + // return $this->hasOne(User::class, 'id', 'recipient')->where('status', 1); + // } public function recipientInfo() { - return $this->hasOne(User::class, 'id', 'recipient')->where('status', 1); + return $this->hasOne(User::class, 'id', 'recipient'); } public function channelInfo()