diff --git a/FlyCube/MpApi/Controller/PayController.class.php b/FlyCube/MpApi/Controller/PayController.class.php index 5b837d6..2808ddc 100644 --- a/FlyCube/MpApi/Controller/PayController.class.php +++ b/FlyCube/MpApi/Controller/PayController.class.php @@ -68,7 +68,7 @@ class PayController extends PublicController // 获取订单信息 $where['shop_id'] = $_REQUEST['shop_id']; $where['order_sn'] = $_REQUEST['order_sn']; - $field = array('order_sn, total_price, transport_price, pack_price, pay_sn,main_status,shop_id'); + $field = array('order_sn,openid,total_price, transport_price, pack_price, pay_sn,main_status,shop_id'); $orderDb = D('order'); if (!$order = $orderDb->where($where)->field($field)->find()) { echo json_encode(array('status' => 0, 'msg' => '订单不存在'));