|
|
@ -128,6 +128,7 @@ class Api_CageController extends Ctrl_Api{ |
|
|
|
$cage = empty($this->POST['cage'])?Tool_Fnc::apiMsg('笼位ID', '500'):$this->POST['cage']; |
|
|
|
$cage = empty($this->POST['cage'])?Tool_Fnc::apiMsg('笼位ID', '500'):$this->POST['cage']; |
|
|
|
$data['id'] = $id; |
|
|
|
$data['id'] = $id; |
|
|
|
$data['cage'] = $cage; |
|
|
|
$data['cage'] = $cage; |
|
|
|
|
|
|
|
$data['type'] = 1; |
|
|
|
if(!$this->SquirrelModel->update($data)) Tool_Fnc::apiMsg('笼位未发生变化', '500'); |
|
|
|
if(!$this->SquirrelModel->update($data)) Tool_Fnc::apiMsg('笼位未发生变化', '500'); |
|
|
|
Tool_Fnc::apiMsg('转移成功', '200'); |
|
|
|
Tool_Fnc::apiMsg('转移成功', '200'); |
|
|
|
} |
|
|
|
} |
|
|
|