Showing
2 changed files
with
3 additions
and
3 deletions
@@ -45,8 +45,8 @@ class SearchData extends \LibModels\Wap\Product\SearchData | @@ -45,8 +45,8 @@ class SearchData extends \LibModels\Wap\Product\SearchData | ||
45 | elseif ($type == 'shop') { | 45 | elseif ($type == 'shop') { |
46 | return 'http://101.200.31.165/yohosearch/shops.json'; | 46 | return 'http://101.200.31.165/yohosearch/shops.json'; |
47 | } | 47 | } |
48 | - return 'http://101.200.31.165/yohosearch/search.json'; | ||
49 | - //return 'http://192.168.10.64:8080/yohosearch/search-once.json'; | 48 | +// return 'http://101.200.31.165/yohosearch/search.json'; |
49 | + return 'http://192.168.10.64:8080/yohosearch/search-once.json'; | ||
50 | } | 50 | } |
51 | } | 51 | } |
52 | 52 |
@@ -91,7 +91,7 @@ class HelperSearch | @@ -91,7 +91,7 @@ class HelperSearch | ||
91 | //分页 | 91 | //分页 |
92 | $result['pager'] = self::pager($result['totalCount'],$options['viewNum']-1); | 92 | $result['pager'] = self::pager($result['totalCount'],$options['viewNum']-1); |
93 | //浏览记录 | 93 | //浏览记录 |
94 | - if ($options['reviewNum']) { | 94 | + if (isset($options['reviewNum']) && !empty($options['reviewNum'])) { |
95 | $result['latestWalk'] = $options['reviewNum']; | 95 | $result['latestWalk'] = $options['reviewNum']; |
96 | } | 96 | } |
97 | //选中条件 | 97 | //选中条件 |
-
Please register or login to post a comment