wx pay
parent
03481b836e
commit
aab64dd731
|
|
@ -577,6 +577,7 @@ class Weixin
|
|||
|
||||
// 回调地址
|
||||
$redirect_uri = urlencode(MyUrl('index/order/pay', ['id'=>$input['id'], 'payment_id'=>$input['payment_id']]));
|
||||
die(MyUrl('index/order/pay', ['id'=>$input['id'], 'payment_id'=>$input['payment_id']]));
|
||||
|
||||
// 授权code
|
||||
$url = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid='.$this->config['appid'].'&redirect_uri='.$redirect_uri.'&response_type=code&scope=snsapi_base&state=callback#wechat_redirect';
|
||||
|
|
|
|||
Loading…
Reference in New Issue