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

@ -87,8 +87,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