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
whb
9 years ago
Commit
2f69b37b335b6086c30a0c34d6af1dc5e31dad7d
1 parent
9bf68383
搜索修改 code preview whb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
library/LibModels/Web/Product/SearchData.php
library/LibModels/Web/Product/SearchData.php
View file @
2f69b37
...
...
@@ -18,24 +18,24 @@ class SearchData extends \LibModels\Wap\Product\SearchData
switch
(
APPLICATION_ENV
)
{
case
'release'
:
if
(
$type
==
'sort'
)
{
return
'http://101.20
1.178.220
/yohosearch/sortgroup.json'
;
return
'http://101.20
0.31.165
/yohosearch/sortgroup.json'
;
}
elseif
(
$type
==
'discount'
)
{
return
'http://101.20
1.178.220
/yohosearch/discount.json'
;
return
'http://101.20
0.31.165
/yohosearch/discount.json'
;
}
elseif
(
$type
==
'recent'
)
{
return
'http://101.20
1.178.220
/yohosearch/recent.json'
;
return
'http://101.20
0.31.165
/yohosearch/recent.json'
;
}
elseif
(
$type
==
'suggest'
)
{
return
'http://101.20
1.178.220
/yohosearch/suggest.json'
;
return
'http://101.20
0.31.165
/yohosearch/suggest.json'
;
}
else
if
(
$type
==
'new-shelve'
)
{
return
'http://101.20
1.178.220
/yohosearch/new-shelve.json'
;
return
'http://101.20
0.31.165
/yohosearch/new-shelve.json'
;
}
elseif
(
$type
==
'shop'
)
{
return
'http://101.20
1.178.220
/yohosearch/shops.json'
;
return
'http://101.20
0.31.165
/yohosearch/shops.json'
;
}
return
'http://101.20
1.178.220
/yohosearch/search.json'
;
return
'http://101.20
0.31.165
/yohosearch/search.json'
;
case
'preview'
:
if
(
$type
==
'sort'
)
{
return
'http://101.200.31.165/yohosearch/sortgroup.json'
;
...
...
Please
register
or
login
to post a comment