1
|
<?php
|
1
|
<?php
|
2
|
|
2
|
|
3
|
-defined('WECHAT_SITE_MAIN') || define('WECHAT_SITE_MAIN', $_SERVER['HTTP_HOST']);
|
3
|
+defined('SITE_MAIN') || define('SITE_MAIN', $_SERVER['HTTP_HOST']);
|
4
|
|
4
|
|
5
|
return array(
|
5
|
return array(
|
6
|
'appId' => 'wx3ae21dcbb82ad672', // wx75e5a7c0c88e45c2 wx3ae21dcbb82ad672
|
6
|
'appId' => 'wx3ae21dcbb82ad672', // wx75e5a7c0c88e45c2 wx3ae21dcbb82ad672
|
7
|
'appKey' => 'e78afb2321e6a19085767e1a0f0d52c1', // ce21ae4a3f93852279175a167e54509b e78afb2321e6a19085767e1a0f0d52c1
|
7
|
'appKey' => 'e78afb2321e6a19085767e1a0f0d52c1', // ce21ae4a3f93852279175a167e54509b e78afb2321e6a19085767e1a0f0d52c1
|
8
|
- 'callback' => WECHAT_SITE_MAIN . '/passport/autosign/wechatback',
|
8
|
+ 'callback' => SITE_MAIN . '/passport/autosign/wechatback',
|
9
|
'scope' => 'snsapi_login'
|
9
|
'scope' => 'snsapi_login'
|
10
|
); |
10
|
); |