diff --git a/FlyCube/MpApi/Controller/PayController.class.php b/FlyCube/MpApi/Controller/PayController.class.php index ede36b8..8af62ab 100644 --- a/FlyCube/MpApi/Controller/PayController.class.php +++ b/FlyCube/MpApi/Controller/PayController.class.php @@ -71,9 +71,11 @@ class PayController extends PublicController exit(); } //后端订单检查 - if ($order['shipment_status'] == "已发货" && ($_REQUEST['refund_Shipment'] != "已送达" || $_REQUEST['refund_Shipment'] != "未送达")) { - echo json_encode(array('status' => 0, 'msg' => '请确认货物状态')); - exit(); + if ($order['shipment_status'] == "已发货") { + if (!($_REQUEST['refund_Shipment'] == "已送达" || $_REQUEST['refund_Shipment'] == "未送达")) { + echo json_encode(array('status' => 0, 'msg' => '请确认货物状态')); + exit(); + } } if ($order['total_price'] < $_REQUEST['refund_price']) { echo json_encode(array('status' => 0, 'msg' => '退款申请超额'));