diff --git a/FlyCube/Api/Controller/PayController.class.php b/FlyCube/Api/Controller/PayController.class.php index a540a82..2a11e49 100644 --- a/FlyCube/Api/Controller/PayController.class.php +++ b/FlyCube/Api/Controller/PayController.class.php @@ -68,7 +68,8 @@ class PayController extends PublicController exit(); } if ($order['openid'] != $this->openid || (float)$order['total_price'] < (float)$shop['price_min'] || $order['total_weight'] > $shop['weight_max']) { - echo json_encode(array('status' => 0, 'msg' => '提交信息异常')); + $msg = array($order['openid'], $this->openid, (float)$order['total_price'], (float)$shop['price_min'], $order['total_weight'], $shop['weight_max']); + echo json_encode(array('status' => 0, 'msg' => $msg)); exit(); }