diff --git a/application/service/handler/PublishHandler.php b/application/service/handler/PublishHandler.php index 9a564e3bd..a704f4f0d 100644 --- a/application/service/handler/PublishHandler.php +++ b/application/service/handler/PublishHandler.php @@ -37,8 +37,8 @@ class PublishHandler * @param string $appid * @return string * @throws \WeChat\Exceptions\InvalidDecryptException - * @throws \think\Exception - * @throws \think\exception\PDOException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public static function handler($appid) { @@ -55,7 +55,7 @@ class PublishHandler return $wechat->text('TESTCOMPONENT_MSG_TYPE_TEXT_callback')->reply([], true); } else { $key = str_replace("QUERY_AUTH_CODE:", '', $receive['Content']); - WechatService::instance('Service')->getQueryAuthorizerInfo($key); + WechatService::service()->getQueryAuthorizerInfo($key); return $wechat->text("{$key}_from_api")->reply([], true); } case 'event': diff --git a/application/store/view/config/index-store-message2.html b/application/store/view/config/index-store-message2.html index 3d93154bd..0d689c04c 100644 --- a/application/store/view/config/index-store-message2.html +++ b/application/store/view/config/index-store-message2.html @@ -15,14 +15,14 @@