@ -16,6 +16,8 @@ class CageSetModel extends Orm_Base{
public $pk = 'id';
public function getsetinfo($params){
$data = $this->field('*')->where('c_user_id='.$params['user_id'])->fRow();
$data['timeout_split_remind'] = (bool)$data['timeout_split_remind'];
$data['overload_remind'] = (bool)$data['overload_remind'];
return $data;
}
@ -18,6 +18,8 @@ class SquirrelSetModel extends Orm_Base{
$data = $this->field('*')->where('user_id='.$params['user_id'])->fRow();
$data['breeding_tag'] = (bool) $data['breeding_tag'];
$data['see_bole_tag'] = (bool) $data['see_bole_tag'];