yangsai@163.com 6 months ago
parent e79c065074
commit a56e6559c9
  1. 4
      application/models/Squirrel.php

@ -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){

Loading…
Cancel
Save