wx pay
parent
2b257cd496
commit
0a7a8c9668
|
|
@ -580,6 +580,7 @@ class Weixin
|
||||||
|
|
||||||
// 授权code
|
// 授权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';
|
$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';
|
||||||
|
die($url);
|
||||||
exit(header('location:'.$url));
|
exit(header('location:'.$url));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue