|
|
@ -89,8 +89,8 @@ class SquirrelModel extends Orm_Base{ |
|
|
|
if($cageinfo['type']==2) $exec->where("cage={$cage}"); |
|
|
|
if($cageinfo['type']==2) $exec->where("cage={$cage}"); |
|
|
|
} |
|
|
|
} |
|
|
|
$data = $exec->fList(); |
|
|
|
$data = $exec->fList(); |
|
|
|
$data[] = ['id'=>0,'number'=>"其他",'sex'=>2]; |
|
|
|
$data[] = ['id'=>0,'number'=>"未知",'sex'=>2]; |
|
|
|
$data[] = ['id'=>0,'number'=>"其他",'sex'=>1]; |
|
|
|
$data[] = ['id'=>0,'number'=>"未知",'sex'=>1]; |
|
|
|
return $data; |
|
|
|
return $data; |
|
|
|
} |
|
|
|
} |
|
|
|
public function getIcon($squirrel){ |
|
|
|
public function getIcon($squirrel){ |
|
|
|