...
|
...
|
@@ -29,12 +29,13 @@ class SearchData |
|
|
defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'developer');
|
|
|
switch (APPLICATION_ENV) {
|
|
|
case 'release':
|
|
|
return 'http://100.98.132.63/yohosearch/search.json';
|
|
|
case 'test':
|
|
|
return 'http://101.201.178.220/yohosearch/search.json'; //return 'http://100.98.132.63/yohosearch/search.json';
|
|
|
case 'preview':
|
|
|
return 'http://101.200.31.165/yohosearch/search.json';
|
|
|
case 'test':
|
|
|
case 'developer':
|
|
|
default:
|
|
|
return 'http://101.200.31.165/yohosearch/search.json';
|
|
|
return 'http://192.168.10.64:8080/yohosearch/search.json';
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|