From f42bb62bae178a60a2e8a52e967b325e8f06b2a1 Mon Sep 17 00:00:00 2001 From: Anyon Date: Thu, 22 Mar 2018 17:04:31 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9ThinkAdmi?= =?UTF-8?q?n=E4=B8=8EThinkServcie=E5=AF=B9=E6=8E=A5=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/wechat/controller/Config.php | 2 +- extend/service/WechatService.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/wechat/controller/Config.php b/application/wechat/controller/Config.php index 9a33ab43b..5282d9288 100644 --- a/application/wechat/controller/Config.php +++ b/application/wechat/controller/Config.php @@ -55,7 +55,7 @@ class Config extends BasicAdmin 'appuri' => url("@wechat/api.push", '', true, true), 'appid' => $this->request->get('appid', sysconf('wechat_thr_appid')), 'appkey' => $this->request->get('appkey', sysconf('wechat_thr_appkey')), - 'authurl' => config('wechat.service_url') . "/wechat/api.push/auth/redirect/{$code}.html", + 'authurl' => config('wechat.service_url') . "/wechat/api.push/auth/{$code}.html", 'wechat' => $info, ]); } diff --git a/extend/service/WechatService.php b/extend/service/WechatService.php index 223741741..c35205714 100644 --- a/extend/service/WechatService.php +++ b/extend/service/WechatService.php @@ -78,7 +78,7 @@ class WechatService default: list($appid, $appkey) = [sysconf('wechat_thr_appid'), sysconf('wechat_thr_appkey')]; $token = strtolower("{$name}-{$appid}-{$appkey}"); - $location = config('wechat.service_url') . "/wechat/api.client/soap/param/{$token}.html"; + $location = config('wechat.service_url') . "/wechat/api.client/soap/{$token}.html"; $params = ['uri' => strtolower($name), 'location' => $location, 'trace' => true]; return new SoapService(null, $params); }