作者 郭鑫

微信支付

@@ -38,8 +38,8 @@ class NotifyController extends HomeBaseController @@ -38,8 +38,8 @@ class NotifyController extends HomeBaseController
38 if (!$where['order_sn']) { 38 if (!$where['order_sn']) {
39 $where['order_sn'] = $data['out_trade_no']; 39 $where['order_sn'] = $data['out_trade_no'];
40 } 40 }
41 -// $where['price'] = $data['total_fee']/100;  
42 - $where['price'] = 1; 41 +// $where['money'] = $data['total_fee']/100;
  42 + $where['money'] = 1;
43 $order_model = new OrderModel(); 43 $order_model = new OrderModel();
44 $info = [ 44 $info = [
45 'pay_time'=>time(), 45 'pay_time'=>time(),