...
|
...
|
@@ -68,42 +68,42 @@ class FourBaogao extends Model |
|
|
return isset($list[$value]) ? $list[$value] : '';
|
|
|
}
|
|
|
|
|
|
public function getSportTypeTextAttr($value, $data)
|
|
|
{
|
|
|
$value = $value ? $value : (isset($data['sport_type']) ? $data['sport_type'] : '');
|
|
|
$list = $this->getTypeList();
|
|
|
return isset($list[$value]) ? $list[$value] : '';
|
|
|
}
|
|
|
public function getEatTypeTextAttr($value, $data)
|
|
|
{
|
|
|
$value = $value ? $value : (isset($data['eat_type']) ? $data['eat_type'] : '');
|
|
|
$list = $this->getTypeList();
|
|
|
return isset($list[$value]) ? $list[$value] : '';
|
|
|
}
|
|
|
public function getBodyTypeTextAttr($value, $data)
|
|
|
{
|
|
|
$value = $value ? $value : (isset($data['bdoy_type']) ? $data['bdoy_type'] : '');
|
|
|
$list = $this->getTypeList();
|
|
|
return isset($list[$value]) ? $list[$value] : '';
|
|
|
}
|
|
|
public function getSeasonTypeTextAttr($value, $data)
|
|
|
{
|
|
|
$value = $value ? $value : (isset($data['season_type']) ? $data['season_type'] : '');
|
|
|
$list = $this->getTypeList();
|
|
|
return isset($list[$value]) ? $list[$value] : '';
|
|
|
}
|
|
|
public function getWorkTypeTextAttr($value, $data)
|
|
|
{
|
|
|
$value = $value ? $value : (isset($data['work_type']) ? $data['work_type'] : '');
|
|
|
$list = $this->getTypeList();
|
|
|
return isset($list[$value]) ? $list[$value] : '';
|
|
|
}
|
|
|
public function getFaceTypeTextAttr($value, $data)
|
|
|
{
|
|
|
$value = $value ? $value : (isset($data['face_type']) ? $data['face_type'] : '');
|
|
|
$list = $this->getTypeList();
|
|
|
return isset($list[$value]) ? $list[$value] : '';
|
|
|
}
|
|
|
// public function getSportTypeTextAttr($value, $data)
|
|
|
// {
|
|
|
// $value = $value ? $value : (isset($data['sport_type']) ? $data['sport_type'] : '');
|
|
|
// $list = $this->getTypeList();
|
|
|
// return isset($list[$value]) ? $list[$value] : '';
|
|
|
// }
|
|
|
// public function getEatTypeTextAttr($value, $data)
|
|
|
// {
|
|
|
// $value = $value ? $value : (isset($data['eat_type']) ? $data['eat_type'] : '');
|
|
|
// $list = $this->getTypeList();
|
|
|
// return isset($list[$value]) ? $list[$value] : '';
|
|
|
// }
|
|
|
// public function getBodyTypeTextAttr($value, $data)
|
|
|
// {
|
|
|
// $value = $value ? $value : (isset($data['bdoy_type']) ? $data['bdoy_type'] : '');
|
|
|
// $list = $this->getTypeList();
|
|
|
// return isset($list[$value]) ? $list[$value] : '';
|
|
|
// }
|
|
|
// public function getSeasonTypeTextAttr($value, $data)
|
|
|
// {
|
|
|
// $value = $value ? $value : (isset($data['season_type']) ? $data['season_type'] : '');
|
|
|
// $list = $this->getTypeList();
|
|
|
// return isset($list[$value]) ? $list[$value] : '';
|
|
|
// }
|
|
|
// public function getWorkTypeTextAttr($value, $data)
|
|
|
// {
|
|
|
// $value = $value ? $value : (isset($data['work_type']) ? $data['work_type'] : '');
|
|
|
// $list = $this->getTypeList();
|
|
|
// return isset($list[$value]) ? $list[$value] : '';
|
|
|
// }
|
|
|
// public function getFaceTypeTextAttr($value, $data)
|
|
|
// {
|
|
|
// $value = $value ? $value : (isset($data['face_type']) ? $data['face_type'] : '');
|
|
|
// $list = $this->getTypeList();
|
|
|
// return isset($list[$value]) ? $list[$value] : '';
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
...
|
...
|
|