diff --git a/FlyCube/MpApi/Controller/PlaneController.class.php b/FlyCube/MpApi/Controller/PlaneController.class.php index dc90d5c..5cd69cf 100644 --- a/FlyCube/MpApi/Controller/PlaneController.class.php +++ b/FlyCube/MpApi/Controller/PlaneController.class.php @@ -569,7 +569,7 @@ class PlaneController extends PublicController $where['shop_id'] = $shop_id; $noflyDb = D('nofly'); - $field = ['id', 'shop_id', 'nofly_data', 'restrictfly_data']; + $field = ['id', 'shop_id', 'nofly_data', 'restrictfly_data', 'restrictfly_height']; $noflyData = $noflyDb->where($where)->field($field)->find(); if ($noflyData) { @@ -579,7 +579,8 @@ class PlaneController extends PublicController $data = [ 'shop_id' => $shop_id, 'nofly_data' => '[]', - 'restrictfly_data' => '[]' + 'restrictfly_data' => '[]', + 'restrictfly_height' => '[]' ]; $insertId = $noflyDb->add($data); if ($insertId) {