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
毕凯
9 years ago
Commit
a593723a93abe48c37ad542dc42254d14c449f9d
1 parent
44b514bd
跳转地址修改
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
yohobuy/m.yohobuy.com/application/modules/Product/controllers/Index.php
yohobuy/m.yohobuy.com/public/index-dev.php
yohobuy/m.yohobuy.com/application/modules/Product/controllers/Index.php
View file @
a593723
...
...
@@ -648,7 +648,7 @@ class IndexController extends AbstractAction
// }
if
(
empty
(
$uid
))
{
$data
[
'code'
]
=
401
;
$refer
=
$_SERVER
[
'HTTP_REFERER'
]
;
$refer
=
isset
(
$_SERVER
[
'HTTP_REFERER'
])
?
$_SERVER
[
'HTTP_REFERER'
]
:
''
;
$toUrl
=
Helpers
::
url
(
'/signin.html'
)
.
"?refer="
.
$refer
;
if
(
!
empty
(
$appVersion
)){
$toUrl
.=
'&openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"'
.
$refer
.
'","param":{}},"requesturl":{"param":{},"url":""},"priority":"N"}}'
;
...
...
yohobuy/m.yohobuy.com/public/index-dev.php
View file @
a593723
...
...
@@ -11,8 +11,8 @@ define('APPLICATION_PATH', dirname(__DIR__)); // 应用目录
define
(
'ROOT_PATH'
,
dirname
(
dirname
(
APPLICATION_PATH
)));
// 根目录
defined
(
'APPLICATION_ENV'
)
||
define
(
'APPLICATION_ENV'
,
'developer'
);
define
(
'API_URL'
,
'http://api-test3.yohops.com:9999/'
);
define
(
'SERVICE_URL'
,
'http://service-test3.yohops.com:9999/'
);
// define('API_URL', 'http://api-test3.yohops.com:9999/');
// define('SERVICE_URL', 'http://service-test3.yohops.com:9999/');
define
(
'USE_INTER_FACE_SHUNT'
,
false
);
//分流开关
#dev环境
...
...
Please
register
or
login
to post a comment