Authored by 周少峰

shop hot product

@@ -60,7 +60,10 @@ class ShopProcess @@ -60,7 +60,10 @@ class ShopProcess
60 //搜索链接 60 //搜索链接
61 self::$shopData['url'] = Helpers::url('', array('shop_id' => self::$shopId), 'search'); 61 self::$shopData['url'] = Helpers::url('', array('shop_id' => self::$shopId), 'search');
62 //人气单品的链接 62 //人气单品的链接
63 - self::$shopData['more_url'] = Helpers::url('', array('shop_id' => self::$shopId, 'order' => 's_n_d', 'title' => '人气'), 'search'); 63 + self::$shopData['more_url'] = Helpers::url('', array('shop_id' => self::$shopId, 'order' => 's_n_d', 'title' => '人气单品',), 'search');
  64 + if (self::$appVersion) {
  65 + self::$shopData['more_url'] .= '&yohobuy={"action":"go.list","params":{"shop_id":"'.self::$shopId.'","title":"人气单品"}}';
  66 + }
64 } 67 }
65 68
66 /** 69 /**