|
|
|
@ -12,11 +12,10 @@ class Company extends SoftDeletesModel
|
|
|
|
|
|
|
|
|
|
|
|
public function getIsYhInvestedTextAttribute()
|
|
|
|
public function getIsYhInvestedTextAttribute()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$array = [
|
|
|
|
if (empty($this->is_yh_invested)) {
|
|
|
|
0 => '否',
|
|
|
|
return '否';
|
|
|
|
1 => '是',
|
|
|
|
}
|
|
|
|
];
|
|
|
|
return $this->is_yh_invested == 1 ? '是' : '否';
|
|
|
|
return $array[$this->is_yh_invested] ?? '否';
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public function users()
|
|
|
|
public function users()
|
|
|
|
|