获取授权URL
public static getAuthorizeURL ( $redirect_uri, $response_type = 'code', $wap = false ) : string | ||
$redirect_uri | 授权成功后的回调地址,即第三方应用的url | |
$response_type | 授权类型,为code | |
$wap | 用于指定手机授权页的版本,默认PC,值为1时跳到wap1.0的授权页,为2时同理 | |
return | string |
public static getAuthorizeURL ( $redirect_uri, $response_type = 'code', $wap = false ) : string | ||
$redirect_uri | 授权成功后的回调地址,即第三方应用的url | |
$response_type | 授权类型,为code | |
$wap | 用于指定手机授权页的版本,默认PC,值为1时跳到wap1.0的授权页,为2时同理 | |
return | string |