...
|
...
|
@@ -29,9 +29,9 @@ 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':
|
|
|
case 'preview':
|
|
|
return 'http://100.98.132.63/yohosearch/search.json';
|
|
|
case 'developer':
|
|
|
default:
|
|
|
return 'http://101.200.31.165/yohosearch/search.json';
|
...
|
...
|
@@ -148,7 +148,7 @@ class SearchData |
|
|
if (!isset($condition['order'])) {
|
|
|
$param['order'] = $orderMaps['s_t_desc'];
|
|
|
} else {
|
|
|
$param['order'] = $orderMaps[ $condition['order'] ];
|
|
|
$param['order'] = $orderMaps[$condition['order']];
|
|
|
}
|
|
|
if (!isset($condition['page'])) {
|
|
|
$param['page'] = 1;
|
...
|
...
|
|