...
|
...
|
@@ -92,12 +92,13 @@ class Wxpay extends Api |
|
|
$this->error('签名错误');
|
|
|
}
|
|
|
//你可以在这里你的业务处理逻辑,比如处理你的订单状态、给会员加余额等等功能
|
|
|
Log::write('测试日志信息,这是警告级别,并且实时写入','notice');
|
|
|
$data = $pay->verify();
|
|
|
$porderModel = new Porder();
|
|
|
$porderModel->where(['uid' => 26,'p_id'=>6])->update(['status'=>1]);
|
|
|
|
|
|
//下面这句必须要执行,且在此之前不能有任何输出
|
|
|
$this->success('支付成功',$pay->success());
|
|
|
echo $pay->success();
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
} |
...
|
...
|
|