From 614aab69994b85d9a2c5ee91c25d9c931bac9c62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E6=AD=A3=E8=B6=85?= Date: Thu, 9 Apr 2015 13:36:49 +0800 Subject: [PATCH] =?UTF-8?q?Updated=20=E7=BD=91=E9=A1=B5=E6=8E=88=E6=9D=83?= =?UTF-8?q?=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 网页授权.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/网页授权.md b/网页授权.md index ad73af6..0e98754 100644 --- a/网页授权.md +++ b/网页授权.md @@ -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 通常都不用传