master
cody 3 months ago
parent b1de420f51
commit b2bfe76d05

@ -16,7 +16,7 @@ class Company extends SoftDeletesModel
0 => '否', 0 => '否',
1 => '是', 1 => '是',
]; ];
return $array[$this->is_yh_invested] ?? ''; return $array[$this->is_yh_invested] ?? '';
} }
public function users() public function users()

@ -123,7 +123,7 @@ class User extends Authenticatable implements Auditable
public function getIsSchoolmateTextAttribute($value) public function getIsSchoolmateTextAttribute($value)
{ {
return self::$intToString['is_schoolmate'][$this->is_schoolmate] ?? ''; return self::$intToString['is_schoolmate'][$this->is_schoolmate] ?? '';
} }
/** /**

Loading…
Cancel
Save