From 76148eb64420256088c289e75af77f77cd31463f Mon Sep 17 00:00:00 2001 From: "yangsai@163.com" <2624183217@qq.com> Date: Fri, 17 May 2024 13:41:45 +0800 Subject: [PATCH] =?UTF-8?q?YS:=E6=8E=A5=E5=8F=A3=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/Api/Squirrel.php | 2 +- application/models/NewSquirrel.php | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) 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(){ - - } }