Updated 网页授权 (markdown)

安正超 2015-02-12 18:10:12 +08:00
parent b07f0f1e3a
commit 20154b893d

@ -6,9 +6,9 @@
```php ```php
// 生成并返回 // 生成并返回
$wechat->auth->url($to, $state, $scope); $wechat->auth->url($to, $state = 'STATE', $scope = 'snsapi_base');
// 直接跳转 // 直接跳转
$wechat->auth->redirect($to, $state, $scope); 直接跳转 $wechat->auth->redirect($to, $state = 'STATE', $scope = 'snsapi_base'); 直接跳转
``` ```
+ 判断是否已经授权 + 判断是否已经授权