From fb4b0e629b961e9f4dfec8b09158b6c248dfb1c2 Mon Sep 17 00:00:00 2001 From: Anyon Date: Thu, 9 Dec 2021 11:46:47 +0800 Subject: [PATCH] Update Scheme.php --- WeMini/Scheme.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WeMini/Scheme.php b/WeMini/Scheme.php index 7a4ce62..18bb041 100644 --- a/WeMini/Scheme.php +++ b/WeMini/Scheme.php @@ -47,7 +47,7 @@ class Scheme extends BasicWeChat * @throws \WeChat\Exceptions\InvalidResponseException * @throws \WeChat\Exceptions\LocalCacheException */ - public function urllink($data) + public function urlLink($data) { $url = "https://api.weixin.qq.com/wxa/generate_urllink?access_token=ACCESS_TOKEN"; $this->registerApi($url, __FUNCTION__, func_get_args()); @@ -61,7 +61,7 @@ class Scheme extends BasicWeChat * @throws \WeChat\Exceptions\InvalidResponseException * @throws \WeChat\Exceptions\LocalCacheException */ - public function urlquery($urllink) + public function urlQuery($urllink) { $url = 'https://api.weixin.qq.com/wxa/query_urllink?access_token=ACCESS_TOKEN'; $this->registerApi($url, __FUNCTION__, func_get_args());