Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郭成尧
9 years ago
Commit
69c807cc6de752ab15b13bcd3536c5f4b5f5f8d7
1 parent
50661927
'微信回调地址修改'
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
library/WebPlugin/Partner/wechat/Config.inc.php
yohobuy/www.yohobuy.com/public/index-test.php
library/WebPlugin/Partner/wechat/Config.inc.php
View file @
69c807c
<?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'
);
...
...
yohobuy/www.yohobuy.com/public/index-test.php
View file @
69c807c
...
...
@@ -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'
);
// 子域名后缀
...
...
Please
register
or
login
to post a comment