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 +}