|
@@ -116,7 +116,8 @@ class Passport extends Api
|
|
$order_no = !empty($order_no) ? $order_no : time() . rand(1, 200);
|
|
$order_no = !empty($order_no) ? $order_no : time() . rand(1, 200);
|
|
|
|
|
|
$pay = new PayUtil();
|
|
$pay = new PayUtil();
|
|
- if (!$pay->jsPay($openid, "D0{$order_no}", '0.01', '开通会员')){
|
|
|
|
|
|
+ $notify_url = 'http://www.zhiyinvip001.com/api/passport/pay_notify';
|
|
|
|
+ if (!$pay->jsPay($openid, "D0{$order_no}", '0.01', '开通会员', $notify_url)){
|
|
$this->error($pay->getMessage());
|
|
$this->error($pay->getMessage());
|
|
}
|
|
}
|
|
|
|
|