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
hf
9 years ago
Commit
f4aea512f4e2a4f8e5adeeba9dbb04f97bdcc0cd
1 parent
eed09c38
master
...
develop
feature/brandCoupon
feature/changeQr
feature/encryptionUid
feature/filter-age
feature/mobile
feature/newInvoice
feature/order-show
feature/payMethod
feature/rcmnd4U
feature/rebuy
feature/shopBaseTlp
feature/ticket
feature/userInfoTip
hotfix/cancelOrder
hotfix/catlog
hotfix/delWap
hotfix/deleteOrderStyle
hotfix/detail
hotfix/editOrder
hotfix/guang-goodsgroup
hotfix/itemApiurl
hotfix/loophole
hotfix/making-order
hotfix/new-girls
hotfix/orders
hotfix/productDetail
hotfix/receipt
hotfix/register
hotfix/returnImage
hotfix/rtrngdsstyl
hotfix/validate
patch-1
release/4.7
release/4.8
release/outlets
4.8.2
4.7.2
4.6.2.1
4.6.2
4.6
wap.1.4.22
wap.1.4.21
wap.1.4.20
wap.1.4.19
wap.1.4.18
wap.1.4.17
wap.1.4.16.3
wap.1.4.16.2
wap.1.4.16.1
wap.1.4.16
wap.1.4.15
wap.1.4.14
wap.1.4.13
wap.1.4.12
wap.1.4.11
wap.1.4.10
wap.1.4.9
wap.1.4.8
pchttps
pc4.5
pc.1.4.24
pc.1.4.23
pc.1.4.22
pc.1.4.21
pc.1.4.20
pc.1.4.19
pc.1.4.18
pc.1.4.17
fix-ip-login-limit
fix-ip-limit
code review by fei.hong: do merge huodong girlday the four times
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
library/LibModels/Web/Product/SearchData.php
library/LibModels/Web/Product/SearchData.php
View file @
f4aea51
...
...
@@ -25,34 +25,34 @@ class SearchData
switch
(
APPLICATION_ENV
)
{
case
'production'
:
if
(
$type
==
'sort'
)
{
return
'http://
x.yohobuy.com
/yohosearch/sortgroup.json'
;
return
'http://
101.200.143.161
/yohosearch/sortgroup.json'
;
// return 'http://101.200.31.165/yohosearch/sortgroup.json';
}
elseif
(
$type
==
'discount'
)
{
return
'http://
x.yohobuy.com
/yohosearch/discount.json'
;
return
'http://
101.200.143.161
/yohosearch/discount.json'
;
// return 'http://101.200.31.165/yohosearch/discount.json';
}
elseif
(
$type
==
'recent'
)
{
return
'http://
x.yohobuy.com
/yohosearch/recent.json'
;
return
'http://
101.200.143.161
/yohosearch/recent.json'
;
// return 'http://101.200.31.165/yohosearch/recent.json';
}
elseif
(
$type
==
'suggest'
)
{
return
'http://
x.yohobuy.com
/yohosearch/suggest.json'
;
return
'http://
101.200.143.161
/yohosearch/suggest.json'
;
// return 'http://101.200.31.165/yohosearch/suggest.json';
}
else
if
(
$type
==
'new-shelve'
)
{
return
'http://
x.yohobuy.com
/yohosearch/new-shelve.json'
;
return
'http://
101.200.143.161
/yohosearch/new-shelve.json'
;
// return 'http://101.200.31.165/yohosearch/new-shelve.json';
}
elseif
(
$type
==
'shop'
)
{
return
'http://
x.yohobuy.com
/yohosearch/shops.json'
;
return
'http://
101.200.143.161
/yohosearch/shops.json'
;
// return 'http://101.200.31.165/yohosearch/shops.json';
}
elseif
(
$type
==
'brand'
)
{
return
'http://
x.yohobuy.com
/yohosearch/brand/list.json'
;
return
'http://
101.200.143.161
/yohosearch/brand/list.json'
;
// return 'http://101.200.31.165/yohosearch/brand/list.json';
}
return
'http://
x.yohobuy.com
/yohosearch/search.json'
;
return
'http://
101.200.143.161
/yohosearch/search.json'
;
// return 'http://101.200.31.165/yohosearch/search.json';
case
'preview'
:
...
...
@@ -82,31 +82,31 @@ class SearchData
case
'developer'
:
default
:
if
(
$type
==
'sort'
)
{
return
'http://
x.yohobuy.com
/yohosearch/sortgroup.json'
;
return
'http://
101.200.143.161
/yohosearch/sortgroup.json'
;
// return 'http://101.200.31.165/yohosearch/sortgroup.json';
// return 'http://182.92.99.119:8080/yohosearch/sortgroup.json';
}
elseif
(
$type
==
'discount'
)
{
return
'http://
x.yohobuy.com
/yohosearch/discount.json'
;
return
'http://
101.200.143.161
/yohosearch/discount.json'
;
// return 'http://101.200.31.165/yohosearch/discount.json';
// return 'http://182.92.99.119:8080/yohosearch/discount.json';
}
elseif
(
$type
==
'recent'
)
{
return
'http://
x.yohobuy.com
/yohosearch/recent.json'
;
return
'http://
101.200.143.161
/yohosearch/recent.json'
;
// return 'http://101.200.31.165/yohosearch/recent.json';
// return 'http://182.92.99.119:8080/yohosearch/recent.json';
}
elseif
(
$type
==
'suggest'
)
{
return
'http://
x.yohobuy.com
/yohosearch/suggest.json'
;
return
'http://
101.200.143.161
/yohosearch/suggest.json'
;
// return 'http://101.200.31.165/yohosearch/suggest.json';
// return 'http://182.92.99.119:8080/yohosearch/suggest.json';
}
else
if
(
$type
==
'new-shelve'
)
{
return
'http://
x.yohobuy.com
/yohosearch/new-shelve.json'
;
//'http://182.92.99.119:8080/yohosearch/new-shelve.json';
return
'http://
101.200.143.161
/yohosearch/new-shelve.json'
;
//'http://182.92.99.119:8080/yohosearch/new-shelve.json';
// return 'http://182.92.99.119:8080/yohosearch/new-shelve.json';//'http://182.92.99.119:8080/yohosearch/new-shelve.json';
}
elseif
(
$type
==
'shop'
)
{
return
'http://
x.yohobuy.com
/yohosearch/shops.json'
;
return
'http://
101.200.143.161
/yohosearch/shops.json'
;
// return 'http://101.200.31.165/yohosearch/shops.json';
// return 'http://182.92.99.119:8080/yohosearch/shops.json';
}
...
...
@@ -114,11 +114,11 @@ class SearchData
return
'http://182.92.99.119:8080/yohosearch/search-once.json'
;
}
elseif
(
$type
==
'brand'
)
{
return
'http://
x.yohobuy.com
/yohosearch/brand/list.json'
;
return
'http://
101.200.143.161
/yohosearch/brand/list.json'
;
// return 'http://101.200.31.165/yohosearch/brand/list.json';
// return 'http://182.92.99.119:8080/yohosearch/brand/list.json';
}
return
'http://
x.yohobuy.com
/yohosearch/search.json'
;
return
'http://
101.200.143.161
/yohosearch/search.json'
;
//return 'http://101.200.31.165/yohosearch/search.json';
// return 'http://182.92.99.119:8080/yohosearch/search.json';
}
...
...
Please
register
or
login
to post a comment