Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
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
Rock Zhang
9 years ago
Commit
fbd15dc094a8bbf6c6afa9b29ef23eacb792c235
1 parent
3b352e97
修复第三方登录失败的bug(调用helpers中函数错误)
Code Review By Rock Zhang
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
library/Plugin/Partner/alipay/Config.inc.php
library/Plugin/Partner/qqconnect/Config.inc.php
library/Plugin/Partner/sinaweibo/Config.inc.php
library/Plugin/Partner/alipay/Config.inc.php
View file @
fbd15dc
...
...
@@ -16,5 +16,5 @@ return array(
// 访问模式,根据自己的服务器是否支持ssl访问,若支持请选择https;若不支持请选择http
'transport'
=>
'http'
,
// 页面跳转同步通知页面路径 (需http://格式的完整路径,不允许加?id=123这类自定义参数)
'return_url'
=>
\Plugin\Helpers
::
transUrl
(
SITE_MAIN
)
.
'/passport/login/alipaycallback'
,
'return_url'
=>
\Plugin\Helpers
::
trans
Https
Url
(
SITE_MAIN
)
.
'/passport/login/alipaycallback'
,
);
...
...
library/Plugin/Partner/qqconnect/Config.inc.php
View file @
fbd15dc
...
...
@@ -5,7 +5,7 @@ defined('SITE_MAIN') || define('SITE_MAIN', $_SERVER['HTTP_HOST']);
return
array
(
'appid'
=>
'100229394'
,
'appkey'
=>
'c0af9c29e0900813028c2ccb42021792'
,
'callback'
=>
\Plugin\Helpers
::
transUrl
(
SITE_MAIN
)
.
'/passport/login/qqcallback'
,
'callback'
=>
\Plugin\Helpers
::
trans
Https
Url
(
SITE_MAIN
)
.
'/passport/login/qqcallback'
,
'scope'
=>
'get_user_info,add_share,upload_pic,get_idollist,get_fanslist'
,
'errorReport'
=>
true
,
);
...
...
library/Plugin/Partner/sinaweibo/Config.inc.php
View file @
fbd15dc
...
...
@@ -5,5 +5,5 @@ defined('SITE_MAIN') || define('SITE_MAIN', $_SERVER['HTTP_HOST']);
return
array
(
'appId'
=>
'3739328910'
,
'appKey'
=>
'9d44cded26d048e23089e5e975c93df1'
,
'appCallbackUrl'
=>
\Plugin\Helpers
::
transUrl
(
SITE_MAIN
)
.
'/passport/login/sinacallback'
,
'appCallbackUrl'
=>
\Plugin\Helpers
::
trans
Https
Url
(
SITE_MAIN
)
.
'/passport/login/sinacallback'
,
);
...
...
Please
register
or
login
to post a comment