询单接口&调整脚手架

This commit is contained in:
mzl
2025-07-23 15:02:09 +08:00
parent 283b21b1f8
commit b22db8ac35
12 changed files with 285 additions and 167 deletions
+4 -9
View File
@@ -65,15 +65,10 @@ class InquiryLog extends Model
return $this->hasOne(User::class, 'id', 'recipient');
}
// public function enter()
// {
// return $this->belongsTo(User::class, 'enter_user_id');
// }
// public function recipient()
// {
// return $this->belongsTo(User::class, 'recipient');
// }
public function channel()
{
return $this->hasOne(InquiryChannel::class, 'id', 'channel');
}
public function country()
{