diff --git a/FlyCube/MpApi/Controller/PlaneController.class.php b/FlyCube/MpApi/Controller/PlaneController.class.php index 67ca1c2..381b61e 100644 --- a/FlyCube/MpApi/Controller/PlaneController.class.php +++ b/FlyCube/MpApi/Controller/PlaneController.class.php @@ -28,7 +28,7 @@ class PlaneController extends PublicController $classDb = D('airplane_class'); $field = array('id', 'shop_id', 'class_name', 'wheelbase', 'category', 'weight_max', 'describe'); if ($planeClassList = $classDb->where($where)->field($field)->select()) { - echo json_encode(array('status' => 1, 'msg' => '访问成功', "airList" => $planeClassList)); + echo json_encode(array('status' => 1, 'msg' => '访问成功', "planeClassList" => $planeClassList)); } else { echo json_encode(array('status' => 0, 'msg' => '暂无机型数据')); }