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
whb
9 years ago
Commit
117bfc3415e6e62862743eb07f47228d48b3f201
1 parent
c5c6aa54
PC的灰度搜索
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
library/LibModels/Web/Product/SearchData.php
library/LibModels/Web/Product/SearchData.php
View file @
117bfc3
...
...
@@ -25,34 +25,34 @@ class SearchData
switch
(
APPLICATION_ENV
)
{
case
'production'
:
if
(
$type
==
'sort'
)
{
return
'http://
search.yohoops.org
/yohosearch/sortgroup.json'
;
return
'http://
101.200.31.165
/yohosearch/sortgroup.json'
;
// return 'http://101.200.31.165/yohosearch/sortgroup.json';
}
elseif
(
$type
==
'discount'
)
{
return
'http://
search.yohoops.org
/yohosearch/discount.json'
;
return
'http://
101.200.31.165
/yohosearch/discount.json'
;
// return 'http://101.200.31.165/yohosearch/discount.json';
}
elseif
(
$type
==
'recent'
)
{
return
'http://
search.yohoops.org
/yohosearch/recent.json'
;
return
'http://
101.200.31.165
/yohosearch/recent.json'
;
// return 'http://101.200.31.165/yohosearch/recent.json';
}
elseif
(
$type
==
'suggest'
)
{
return
'http://
search.yohoops.org
/yohosearch/suggest.json'
;
return
'http://
101.200.31.165
/yohosearch/suggest.json'
;
// return 'http://101.200.31.165/yohosearch/suggest.json';
}
else
if
(
$type
==
'new-shelve'
)
{
return
'http://
search.yohoops.org
/yohosearch/new-shelve.json'
;
return
'http://
101.200.31.165
/yohosearch/new-shelve.json'
;
// return 'http://101.200.31.165/yohosearch/new-shelve.json';
}
elseif
(
$type
==
'shop'
)
{
return
'http://
search.yohoops.org
/yohosearch/shops.json'
;
return
'http://
101.200.31.165
/yohosearch/shops.json'
;
// return 'http://101.200.31.165/yohosearch/shops.json';
}
elseif
(
$type
==
'brand'
)
{
return
'http://
search.yohoops.org
/yohosearch/brand/list.json'
;
return
'http://
101.200.31.165
/yohosearch/brand/list.json'
;
// return 'http://101.200.31.165/yohosearch/brand/list.json';
}
return
'http://
search.yohoops.org
/yohosearch/search.json'
;
return
'http://
101.200.31.165
/yohosearch/search.json'
;
// return 'http://101.200.31.165/yohosearch/search.json';
case
'preview'
:
...
...
Please
register
or
login
to post a comment