diff --git a/application/controllers/Api/Cage.php b/application/controllers/Api/Cage.php index f42a526..dc3c170 100644 --- a/application/controllers/Api/Cage.php +++ b/application/controllers/Api/Cage.php @@ -128,6 +128,7 @@ class Api_CageController extends Ctrl_Api{ $cage = empty($this->POST['cage'])?Tool_Fnc::apiMsg('笼位ID', '500'):$this->POST['cage']; $data['id'] = $id; $data['cage'] = $cage; + $data['type'] = 1; if(!$this->SquirrelModel->update($data)) Tool_Fnc::apiMsg('笼位未发生变化', '500'); Tool_Fnc::apiMsg('转移成功', '200'); }