|
@@ -25,34 +25,34 @@ class SearchData |
|
@@ -25,34 +25,34 @@ class SearchData |
25
|
switch (APPLICATION_ENV) {
|
25
|
switch (APPLICATION_ENV) {
|
26
|
case 'production':
|
26
|
case 'production':
|
27
|
if ($type == 'sort') {
|
27
|
if ($type == 'sort') {
|
28
|
- return 'http://101.200.31.165/yohosearch/sortgroup.json';
|
28
|
+ return 'http://search.yohoops.org/yohosearch/sortgroup.json';
|
29
|
// return 'http://101.200.31.165/yohosearch/sortgroup.json';
|
29
|
// return 'http://101.200.31.165/yohosearch/sortgroup.json';
|
30
|
}
|
30
|
}
|
31
|
elseif ($type == 'discount') {
|
31
|
elseif ($type == 'discount') {
|
32
|
- return 'http://101.200.31.165/yohosearch/discount.json';
|
32
|
+ return 'http://search.yohoops.org/yohosearch/discount.json';
|
33
|
// return 'http://101.200.31.165/yohosearch/discount.json';
|
33
|
// return 'http://101.200.31.165/yohosearch/discount.json';
|
34
|
}
|
34
|
}
|
35
|
elseif ($type == 'recent') {
|
35
|
elseif ($type == 'recent') {
|
36
|
- return 'http://101.200.31.165/yohosearch/recent.json';
|
36
|
+ return 'http://search.yohoops.org/yohosearch/recent.json';
|
37
|
// return 'http://101.200.31.165/yohosearch/recent.json';
|
37
|
// return 'http://101.200.31.165/yohosearch/recent.json';
|
38
|
}
|
38
|
}
|
39
|
elseif ($type == 'suggest') {
|
39
|
elseif ($type == 'suggest') {
|
40
|
- return 'http://101.200.31.165/yohosearch/suggest.json';
|
40
|
+ return 'http://search.yohoops.org/yohosearch/suggest.json';
|
41
|
// return 'http://101.200.31.165/yohosearch/suggest.json';
|
41
|
// return 'http://101.200.31.165/yohosearch/suggest.json';
|
42
|
}
|
42
|
}
|
43
|
else if($type == 'new-shelve') {
|
43
|
else if($type == 'new-shelve') {
|
44
|
- return 'http://101.200.31.165/yohosearch/new-shelve.json';
|
44
|
+ return 'http://search.yohoops.org/yohosearch/new-shelve.json';
|
45
|
// return 'http://101.200.31.165/yohosearch/new-shelve.json';
|
45
|
// return 'http://101.200.31.165/yohosearch/new-shelve.json';
|
46
|
}
|
46
|
}
|
47
|
elseif ($type == 'shop') {
|
47
|
elseif ($type == 'shop') {
|
48
|
- return 'http://101.200.31.165/yohosearch/shops.json';
|
48
|
+ return 'http://search.yohoops.org/yohosearch/shops.json';
|
49
|
// return 'http://101.200.31.165/yohosearch/shops.json';
|
49
|
// return 'http://101.200.31.165/yohosearch/shops.json';
|
50
|
}
|
50
|
}
|
51
|
elseif ($type == 'brand') {
|
51
|
elseif ($type == 'brand') {
|
52
|
- return 'http://101.200.31.165/yohosearch/brand/list.json';
|
52
|
+ return 'http://search.yohoops.org/yohosearch/brand/list.json';
|
53
|
// return 'http://101.200.31.165/yohosearch/brand/list.json';
|
53
|
// return 'http://101.200.31.165/yohosearch/brand/list.json';
|
54
|
}
|
54
|
}
|
55
|
- return 'http://101.200.31.165/yohosearch/search.json';
|
55
|
+ return 'http://search.yohoops.org/yohosearch/search.json';
|
56
|
// return 'http://101.200.31.165/yohosearch/search.json';
|
56
|
// return 'http://101.200.31.165/yohosearch/search.json';
|
57
|
|
57
|
|
58
|
case 'preview':
|
58
|
case 'preview':
|