From 4a5e41ec64666dae70c933f667bd605dc5495606 Mon Sep 17 00:00:00 2001 From: tk Date: Wed, 7 Aug 2024 13:30:54 +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=9Afix=20=E5=8F=96=E6=B6=88=E2=80=9C=E6=9C=AA=E9=80=81?= =?UTF-8?q?=E8=BE=BE=E2=80=9D=E5=B7=B2=E9=80=81=E8=BE=BE=20=E5=A4=84?= =?UTF-8?q?=E7=90=86=E6=97=B6=20=E4=B8=8D=E8=BF=87=E6=BB=A4=E5=B7=B2?= =?UTF-8?q?=E9=80=80=E6=AC=BE=20=E3=80=90=E5=8E=9F=20=20=E5=9B=A0=E3=80=91?= =?UTF-8?q?=EF=BC=9A=E4=B9=8B=E5=89=8D=E4=BC=9A=E8=BF=87=E6=BB=A4=E5=B7=B2?= =?UTF-8?q?=E9=80=80=E6=AC=BE=E7=9A=84=E8=AE=A2=E5=8D=95=20=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E4=B8=8D=E8=83=BD=E6=89=A7=E8=A1=8C=20=E6=8A=8A?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=8F=91=E8=B4=A7=E7=8A=B6=E6=80=81=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E5=B7=B2=E9=80=81=E8=BE=BE=20=E6=88=96=E8=80=85?= =?UTF-8?q?=E5=9B=9E=E6=BB=9A=20=E3=80=90=E8=BF=87=20=20=E7=A8=8B=E3=80=91?= =?UTF-8?q?=EF=BC=9A=20=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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FlyCube/MpApi/Controller/PlaneController.class.php b/FlyCube/MpApi/Controller/PlaneController.class.php index ae718f1..020c45f 100644 --- a/FlyCube/MpApi/Controller/PlaneController.class.php +++ b/FlyCube/MpApi/Controller/PlaneController.class.php @@ -582,8 +582,8 @@ class PlaneController extends PublicController $where['id'] = intval($_REQUEST['order_id']); $field = array('main_status', 'openid'); $order = $orderDb->where($where)->field($field)->find(); - //只处理主状态已付款的订单 其他状态跳出 - if ($order['main_status'] != '已付款') { + //只处理主状态已付款 或已退款的订单 其他状态跳出 + if ($order['main_status'] != '已付款' || $order['main_status'] != '已退款') { throw new Exception('参数有误'); } //操作数据库 只能操作 主状态 执行状态 退款状态 执行飞机