diff --git a/FlyCube/Api/Controller/PayController.class.php b/FlyCube/Api/Controller/PayController.class.php index 7afb2b7..d1b7f47 100644 --- a/FlyCube/Api/Controller/PayController.class.php +++ b/FlyCube/Api/Controller/PayController.class.php @@ -94,7 +94,7 @@ class PayController extends PublicController $where['order_sn'] = $callBackData['out_trade_no']; // 获取订单号 $orderDb = D('order'); // 实例化订单模型 $data['status'] = 'pending'; //付款状态 - $data['pay_sn'] = $callBackData['transaction_id']; + //$data['pay_sn'] = $callBackData['transaction_id']; //注意先简单测试一下还需要验证openid 金额等 $orderDb->where($where)->data($data)->save(); //更改订单 }