Authored by 郭成尧

'微信回调地址修改'

<?php
defined('SITE_MAIN') || define('SITE_MAIN', $_SERVER['HTTP_HOST']);
defined('WECHAT_SITE_MAIN') || define('WECHAT_SITE_MAIN', $_SERVER['HTTP_HOST']);
return array(
'appId' => 'wx3ae21dcbb82ad672', // wx75e5a7c0c88e45c2 wx3ae21dcbb82ad672
'appKey' => 'e78afb2321e6a19085767e1a0f0d52c1', // ce21ae4a3f93852279175a167e54509b e78afb2321e6a19085767e1a0f0d52c1
'callback' => SITE_MAIN . '/passport/autosign/wechatback',
'callback' => WECHAT_SITE_MAIN . '/passport/autosign/wechatback',
'scope' => 'snsapi_login'
);
... ...
... ... @@ -2,6 +2,7 @@
use Yaf\Application;
define('SITE_MAIN', 'http://www.yohobuy.com'); // 网站主域名
define('WECHAT_SITE_MAIN', 'http://yohobuy.com'); // 微信回调地址
define('OLD_MAIN', 'http://www.yohobuy.com'); // 网站旧域名
define('COOKIE_DOMAIN', '.yohobuy.com'); // COOKIE作用域
define('SUB_DOMAIN', '.yohobuy.com'); // 子域名后缀
... ...