Authored by 周少峰

app url

@@ -51,8 +51,10 @@ class ShopProcess @@ -51,8 +51,10 @@ class ShopProcess
51 //店铺简介页地址 51 //店铺简介页地址
52 self::$shopData['shopIntroHref'] = Helpers::url('/product/index/intro', array('shop_id' => self::$shopId)); 52 self::$shopData['shopIntroHref'] = Helpers::url('/product/index/intro', array('shop_id' => self::$shopId));
53 //全部商品链接 53 //全部商品链接
54 - $appSuffix = '{"action":"go.list","params":{"title":"全部商品", "shop_id":"'.self::$shopId.'","page":"1"}}';  
55 - self::$shopData['allGoods'] = Helpers::url('', array('shop_id' => self::$shopId, 'title' => '全部商品', 'openby:yohobuy' => $appSuffix), 'search'); 54 + self::$shopData['allGoods'] = Helpers::url('', array('shop_id' => self::$shopId, 'title' => '全部商品'), 'search');
  55 + if (empty($appVersion)) {
  56 + self::$shopData['allGoods'] .= '&openby:yohobuy={"action":"go.list","params":{"title":"全部商品", "actiontype":"0","shop_id":"'.self::$shopId.'","page":"1"}}';
  57 + }
56 //搜索链接 58 //搜索链接
57 self::$shopData['url'] = Helpers::url('', array('shop_id' => self::$shopId), 'search'); 59 self::$shopData['url'] = Helpers::url('', array('shop_id' => self::$shopId), 'search');
58 //人气单品的链接 60 //人气单品的链接