diff --git a/app/Models/Visit.php b/app/Models/Visit.php index 9952eed..719c1a8 100644 --- a/app/Models/Visit.php +++ b/app/Models/Visit.php @@ -69,7 +69,7 @@ class Visit extends SoftDeletesModel public function getTypeTextAttribute() { - $array = [1 => '普通访客', 2 => '施工访客', 3 => '物流访客']; + $array = [1 => '普通访客', 2 => '施工访客', 3 => '物流司机']; return $array[$this->type] ?? ''; }