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('参数有误'); } //操作数据库 只能操作 主状态 执行状态 退款状态 执行飞机