From 574b3a346327b55d7014e82e322182f7d4d9accb Mon Sep 17 00:00:00 2001 From: sf <811800545@qq.com> Date: Tue, 18 Oct 2016 23:37:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=B8=BA=E9=9D=99=E6=80=81?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 会报Strict Standards错误哦(静态调用的方式调用了非静态方法) --- corp/api/Auth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/corp/api/Auth.php b/corp/api/Auth.php index 9243c91..c7b1600 100755 --- a/corp/api/Auth.php +++ b/corp/api/Auth.php @@ -38,7 +38,7 @@ public static function getTicket($accessToken) } - function curPageURL() + public static function curPageURL() { $pageURL = 'http'; @@ -102,4 +102,4 @@ static function check($res) exit("Failed: " . json_encode($res)); } } -} \ No newline at end of file +}