|
|
@ -421,7 +421,7 @@ class Api_SquirrelController extends Ctrl_Api{ |
|
|
|
if($this->Squirrelmodel->exec($sql)&&$this->Squirrelmodel->exec($unsql)){ |
|
|
|
if($this->Squirrelmodel->exec($sql)&&$this->Squirrelmodel->exec($unsql)){ |
|
|
|
Tool_Fnc::apiMsg('设置成功', '1'); |
|
|
|
Tool_Fnc::apiMsg('设置成功', '1'); |
|
|
|
} |
|
|
|
} |
|
|
|
Tool_Fnc::apiMsg('设置失败', '500'); |
|
|
|
Tool_Fnc::apiMsg('设置成功', '1'); |
|
|
|
} |
|
|
|
} |
|
|
|
public function setgeneAction(){ |
|
|
|
public function setgeneAction(){ |
|
|
|
$cage = empty($this->POST['cage'])?Tool_Fnc::apiMsg('笼位号丢失', '500'):$this->POST['cage']; |
|
|
|
$cage = empty($this->POST['cage'])?Tool_Fnc::apiMsg('笼位号丢失', '500'):$this->POST['cage']; |
|
|
|