diff --git a/packages/bydauto/src/Jobs/TestdrivePushJob.php b/packages/bydauto/src/Jobs/TestdrivePushJob.php index 38f4ee6..1fe0a29 100644 --- a/packages/bydauto/src/Jobs/TestdrivePushJob.php +++ b/packages/bydauto/src/Jobs/TestdrivePushJob.php @@ -39,8 +39,8 @@ public function sendNotification() Activity::create([ 'name' => '试驾通知', 'content' => ['testdrive' => $this->model->id, 'contact' => $contact->id], - 'related_id' => $this->model->id, - 'related_type' => Testdrive::class, + 'related_id' => $contact->id, + 'related_type' => Contact::class, ]); } }