mirror of
https://github.com/w7corp/easywechat.git
synced 2025-01-22 11:32:08 +00:00
Updated 网页授权 (markdown)
parent
b07f0f1e3a
commit
20154b893d
4
网页授权.md
4
网页授权.md
@ -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'); 直接跳转
|
||||||
```
|
```
|
||||||
|
|
||||||
+ 判断是否已经授权
|
+ 判断是否已经授权
|
||||||
|
Loading…
Reference in New Issue
Block a user