作者 郭鑫

支付宝修改

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