Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
周少峰
9 years ago
Commit
fcbd1c1b3a0b6e7222bdb13be87eacd6300e8294
1 parent
652073af
tencent cloud test
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
7 deletions
library/LibModels/Web/Product/SearchData.php
library/LibModels/Web/Product/SearchData.php
View file @
fcbd1c1
...
...
@@ -79,31 +79,56 @@ class SearchData
}
return
'http://192.168.102.216:8087/yohosearch/search.json'
;
case
'testing'
:
if
(
$type
==
'sort'
)
{
return
'http://10.66.101.4:8080/yohosearch/sortgroup.json'
;
}
elseif
(
$type
==
'discount'
)
{
return
'http://10.66.101.4:8080/yohosearch/discount.json'
;
}
elseif
(
$type
==
'recent'
)
{
return
'http://10.66.101.4:8080/yohosearch/recent.json'
;
}
elseif
(
$type
==
'suggest'
)
{
return
'http://10.66.101.4:8080/yohosearch/suggest.json'
;
}
else
if
(
$type
==
'new-shelve'
)
{
return
'http://10.66.101.4:8080/yohosearch/new-shelve.json'
;
}
elseif
(
$type
==
'shop'
)
{
return
'http://10.66.101.4:8080/yohosearch/shops.json'
;
}
elseif
(
$type
==
'search'
)
{
return
'http://10.66.101.4:8080/yohosearch/search.json'
;
}
elseif
(
$type
==
'brand'
)
{
return
'http://10.66.101.4:8080/yohosearch/brand/list.json'
;
}
return
'http://10.66.101.4:8080/yohosearch/search.json'
;
case
'developer'
:
default
:
if
(
$type
==
'sort'
)
{
return
'http://1
01.200.31.165
/yohosearch/sortgroup.json'
;
return
'http://1
92.168.102.216:8087
/yohosearch/sortgroup.json'
;
}
elseif
(
$type
==
'discount'
)
{
return
'http://1
01.200.31.165
/yohosearch/discount.json'
;
return
'http://1
92.168.102.216:8087
/yohosearch/discount.json'
;
}
elseif
(
$type
==
'recent'
)
{
return
'http://1
01.200.31.165
/yohosearch/recent.json'
;
return
'http://1
92.168.102.216:8087
/yohosearch/recent.json'
;
}
elseif
(
$type
==
'suggest'
)
{
return
'http://1
01.200.31.165
/yohosearch/suggest.json'
;
return
'http://1
92.168.102.216:8087
/yohosearch/suggest.json'
;
}
else
if
(
$type
==
'new-shelve'
)
{
return
'http://1
01.200.31.165
/yohosearch/new-shelve.json'
;
return
'http://1
92.168.102.216:8087
/yohosearch/new-shelve.json'
;
}
elseif
(
$type
==
'shop'
)
{
return
'http://1
01.200.31.165
/yohosearch/shops.json'
;
return
'http://1
92.168.102.216:8087
/yohosearch/shops.json'
;
}
elseif
(
$type
==
'search'
)
{
return
'http://192.168.102.216:8087/yohosearch/search.json'
;
}
elseif
(
$type
==
'brand'
)
{
return
'http://1
01.200.31.165
/yohosearch/brand/list.json'
;
return
'http://1
92.168.102.216:8087
/yohosearch/brand/list.json'
;
}
return
'http://192.168.102.216:8087/yohosearch/search.json'
;
}
...
...
Please
register
or
login
to post a comment