|
|
<?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'
|
|
|
); |
...
|
...
|
|