Authored by 郭成尧

search-no-shop-no-fav-check

@@ -497,9 +497,6 @@ const getShopData = (req, shopId, uid, isApp) => { @@ -497,9 +497,6 @@ const getShopData = (req, shopId, uid, isApp) => {
497 let shopData = {}; 497 let shopData = {};
498 let channel = req.yoho.channel; 498 let channel = req.yoho.channel;
499 499
500 - /* 变量污染临时处理 */  
501 - // shopId = shopId.replace(/\//, '');  
502 -  
503 return _getShopInfo(shopId, uid).then(shopInfoResult => { 500 return _getShopInfo(shopId, uid).then(shopInfoResult => {
504 501
505 /* 基础店铺返回程序内的跳转信号,跳转到基础店铺 */ 502 /* 基础店铺返回程序内的跳转信号,跳转到基础店铺 */
@@ -89,7 +89,7 @@ ellipsis.init(); @@ -89,7 +89,7 @@ ellipsis.init();
89 tip.show('网络断开连接了~'); 89 tip.show('网络断开连接了~');
90 } 90 }
91 }); 91 });
92 - } else { 92 + } else if ($('.shopId').val().length > 0){
93 $.ajax({ 93 $.ajax({
94 url: '/product/index/baseShopFav', 94 url: '/product/index/baseShopFav',
95 data: { 95 data: {