diff --git a/application/controllers/Api/Squirrel.php b/application/controllers/Api/Squirrel.php index 3e48221..eecbbc4 100644 --- a/application/controllers/Api/Squirrel.php +++ b/application/controllers/Api/Squirrel.php @@ -250,7 +250,7 @@ class Api_SquirrelController extends Ctrl_Api{ public function getparentsAction(){ $data['sex'] = empty($this->POST['sex'])||!isset($this->POST['sex'])?Tool_Fnc::apiMsg('缺少性别参数', '500'):Tool_Fnc::safe_string($this->POST['sex']); $return = $this->Squirrelmodel->partent($data); - Tool_Fnc::apiMsg('添加成功', '200',$return); + Tool_Fnc::apiMsg('获取成功', '200',$return); } } diff --git a/application/models/NewSquirrel.php b/application/models/NewSquirrel.php index 7f4201f..460dc95 100644 --- a/application/models/NewSquirrel.php +++ b/application/models/NewSquirrel.php @@ -35,8 +35,5 @@ class NewSquirrelModel extends Orm_Base{ } return $data; } - public function getFatherAction(){ - - } }