Updated 网页授权 (markdown)

安正超 2015-04-09 13:36:49 +08:00
parent ffa85e6916
commit 614aab6999

@ -6,9 +6,9 @@
```php
// 生成并返回
$wechat->auth->url($to, $scope = 'snsapi_base', $state = 'STATE');
$wechat->auth->url($to, 'snsapi_base', 'STATE');
// 直接跳转
$wechat->auth->redirect($to, $scope = 'snsapi_base', $state = 'STATE'); 直接跳转
$wechat->auth->redirect($to, 'snsapi_base', 'STATE'); 直接跳转
```
> 注意:上面的 $scope 与 $state 通常都不用传