yangsai@163.com 6 months ago
parent 4948e6ff54
commit c9bdab2b7e
  1. 1
      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');
}

Loading…
Cancel
Save