diff --git a/application/wechat/controller/Config.php b/application/wechat/controller/Config.php index c5bf0d9b2..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' => "http://wm.cuci.cc/wechat/api.push/auth/{$code}.html", + 'authurl' => config('wechat.service_url') . "/wechat/api.push/auth/{$code}.html", 'wechat' => $info, ]); }