From d4f120db783864e6616af4b860a092a1730d2bfe Mon Sep 17 00:00:00 2001 From: air <30444667+sszdot@users.noreply.github.com> Date: Thu, 19 Jun 2025 11:45:15 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=B1=BB=20=20=E5=9E=8B=E3=80=91?= =?UTF-8?q?=EF=BC=9Afactor=20=E3=80=90=E5=8E=9F=20=20=E5=9B=A0=E3=80=91?= =?UTF-8?q?=EF=BC=9A=E5=88=A0=E9=99=A4=E6=8E=89=E9=A3=9E=E6=9C=BA=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E7=9A=84weight=5Fmax=E5=AD=97=E6=AE=B5=20=E6=94=B9?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=B0=86=E6=94=BE=E7=BD=AE=E5=88=B0=E6=9C=BA?= =?UTF-8?q?=E5=9E=8B=E8=A1=A8=20=E4=B8=8B=20=E3=80=90=E8=BF=87=20=20?= =?UTF-8?q?=E7=A8=8B=E3=80=91=EF=BC=9A=20=E3=80=90=E5=BD=B1=20=20=E5=93=8D?= =?UTF-8?q?=E3=80=91=EF=BC=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FlyCube/MpApi/Controller/PlaneController.class.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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'];