master
cody 3 months ago
parent 43dea90e9c
commit 7b07924ba2

@ -13,9 +13,9 @@ class Company extends SoftDeletesModel
public function getIsYhInvestedTextAttribute() public function getIsYhInvestedTextAttribute()
{ {
if (empty($this->is_yh_invested)) { if (empty($this->is_yh_invested)) {
return ''; return '';
} }
return $this->is_yh_invested == 1 ? '是' : '否'; return $this->is_yh_invested == 1 ? '被投企业' : '';
} }
public function users() public function users()

Loading…
Cancel
Save