From c9bdab2b7e084afd853aa2459cc2f9530be44d99 Mon Sep 17 00:00:00 2001 From: "yangsai@163.com" <2624183217@qq.com> Date: Fri, 7 Jun 2024 11:49:08 +0800 Subject: [PATCH] YS --- application/controllers/Api/Cage.php | 1 + 1 file changed, 1 insertion(+) 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'); }