diff --git a/application/controllers/Api/Squirrel.php b/application/controllers/Api/Squirrel.php index fb914a8..d8d5a5b 100644 --- a/application/controllers/Api/Squirrel.php +++ b/application/controllers/Api/Squirrel.php @@ -421,7 +421,7 @@ class Api_SquirrelController extends Ctrl_Api{ if($this->Squirrelmodel->exec($sql)&&$this->Squirrelmodel->exec($unsql)){ Tool_Fnc::apiMsg('设置成功', '1'); } - Tool_Fnc::apiMsg('设置失败', '500'); + Tool_Fnc::apiMsg('设置成功', '1'); } public function setgeneAction(){ $cage = empty($this->POST['cage'])?Tool_Fnc::apiMsg('笼位号丢失', '500'):$this->POST['cage'];