作者 郭鑫

支付宝修改

@@ -220,7 +220,7 @@ class AlipayController extends NotifyCommonController @@ -220,7 +220,7 @@ class AlipayController extends NotifyCommonController
220 $where['order_sn'] = $data['out_trade_no']; 220 $where['order_sn'] = $data['out_trade_no'];
221 // $where['money'] = $data['total_amount']; 221 // $where['money'] = $data['total_amount'];
222 $res = $this->changeOrderStatus($where,$data['trade_no'],3,'pc支付宝支付'); 222 $res = $this->changeOrderStatus($where,$data['trade_no'],3,'pc支付宝支付');
223 - Db::name('Test')->insertGetId(['data'=>$res]); 223 +// Db::name('Test')->insertGetId(['data'=>$res]);
224 if($res) { 224 if($res) {
225 $this->redirect('http://bifangjia.cn/Compare_Price/pay/PayResult.html'); 225 $this->redirect('http://bifangjia.cn/Compare_Price/pay/PayResult.html');
226 } else { 226 } else {
@@ -214,7 +214,7 @@ class AlipaywapController extends NotifyCommonController @@ -214,7 +214,7 @@ class AlipaywapController extends NotifyCommonController
214 $where['order_sn'] = $data['out_trade_no']; 214 $where['order_sn'] = $data['out_trade_no'];
215 // $where['money'] = $data['total_amount']; 215 // $where['money'] = $data['total_amount'];
216 $res = $this->changeOrderStatus($where,$data['trade_no'],3,'pc支付宝支付'); 216 $res = $this->changeOrderStatus($where,$data['trade_no'],3,'pc支付宝支付');
217 - Db::name('Test')->insertGetId(['data'=>$res]); 217 +// Db::name('Test')->insertGetId(['data'=>$res]);
218 if($res) { 218 if($res) {
219 $this->redirect('http://bifangjia.cn/Compare_Price/pay/PayResult.html'); 219 $this->redirect('http://bifangjia.cn/Compare_Price/pay/PayResult.html');
220 } else { 220 } else {