|
|
@ -34,7 +34,7 @@ class SquirrelModel extends Orm_Base{ |
|
|
|
); |
|
|
|
); |
|
|
|
public $pk = 'id'; |
|
|
|
public $pk = 'id'; |
|
|
|
public function getModelList($params){ |
|
|
|
public function getModelList($params){ |
|
|
|
$sex = array("1"=>"雄","2"=>"雌","0"=>"其他"); |
|
|
|
$sex = array("1"=>"雄","2"=>"雌","3"=>"其他","0"=>"其他"); |
|
|
|
$cageModel = new CageModel(); |
|
|
|
$cageModel = new CageModel(); |
|
|
|
$NewSquirrel = new NewSquirrelModel(); |
|
|
|
$NewSquirrel = new NewSquirrelModel(); |
|
|
|
//获取仓鼠信息 |
|
|
|
//获取仓鼠信息 |
|
|
|