From fdb53bcac1459c6516d0f8fb6176e004449ea8f5 Mon Sep 17 00:00:00 2001 From: tk Date: Wed, 7 Aug 2024 13:52:21 +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=9A=20=E3=80=90=E5=8E=9F=20=20=E5=9B=A0=E3=80=91=EF=BC=9A?= =?UTF-8?q?=20=E3=80=90=E8=BF=87=20=20=E7=A8=8B=E3=80=91=EF=BC=9A=20?= =?UTF-8?q?=E3=80=90=E5=BD=B1=20=20=E5=93=8D=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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FlyCube/MpApi/Controller/PlaneController.class.php b/FlyCube/MpApi/Controller/PlaneController.class.php index 86f51f2..3c3358d 100644 --- a/FlyCube/MpApi/Controller/PlaneController.class.php +++ b/FlyCube/MpApi/Controller/PlaneController.class.php @@ -582,7 +582,7 @@ class PlaneController extends PublicController $field = array('main_status', 'openid'); $order = $orderDb->where($where)->field($field)->find(); //只处理主状态已付款 或已退款的订单 其他状态跳出 - if ($order['main_status'] != '已付款' || $order['main_status'] != '已退款') { + if (!($order['main_status'] == '已付款' || $order['main_status'] == '已退款')) { throw new Exception('参数有误'); } //操作数据库 只能操作 主状态 执行状态 退款状态 执行飞机