diff --git a/FlyCube/MpApi/Controller/PlaneController.class.php b/FlyCube/MpApi/Controller/PlaneController.class.php index 381b61e..036143d 100644 --- a/FlyCube/MpApi/Controller/PlaneController.class.php +++ b/FlyCube/MpApi/Controller/PlaneController.class.php @@ -70,7 +70,6 @@ class PlaneController extends PublicController if ($_REQUEST['shop_id'] && $_REQUEST['class_name'] && $_REQUEST['id']) { $data['class_name'] = $_REQUEST['class_name']; - $data['weight_max'] = $_REQUEST['weight_max']; $data['category'] = $_REQUEST['category']; $data['wheelbase'] = $_REQUEST['wheelbase']; if ($_REQUEST['describe']) { @@ -126,7 +125,7 @@ class PlaneController extends PublicController } $where['del'] = "0"; $airListDb = D('airplane_register'); - $field = array('id', 'name', 'macadd', 'describe', 'weight_max', 'shop_id', 'apply_time', 'onoff', 'del'); + $field = array('id', 'name', 'macadd', 'describe', 'shop_id', 'apply_time', 'onoff', 'del'); if ($airList = $airListDb->where($where)->field($field)->select()) { echo json_encode(array('status' => 1, 'msg' => '访问成功', "airList" => $airList)); } else { @@ -145,7 +144,6 @@ class PlaneController extends PublicController $data['shop_id'] = $_REQUEST['shop_id']; $data['name'] = $_REQUEST['name']; $data['onoff'] = $_REQUEST['onoff']; - $data['weight_max'] = $_REQUEST['weight_max']; $data['apply_time'] = substr($_REQUEST['date'], 0, -3); if ($_REQUEST['desc']) { $data['describe'] = $_REQUEST['desc']; @@ -171,7 +169,6 @@ class PlaneController extends PublicController if ($_REQUEST['shop_id'] && $_REQUEST['name'] && $_REQUEST['id']) { $data['name'] = $_REQUEST['name']; $data['onoff'] = $_REQUEST['onoff']; - $data['weight_max'] = $_REQUEST['weight_max']; $data['apply_time'] = substr($_REQUEST['date'], 0, -3); if ($_REQUEST['desc']) { $data['describe'] = $_REQUEST['desc'];