Authored by 郭成尧

title-handle

@@ -214,7 +214,7 @@ const category = (req, res, next) => { @@ -214,7 +214,7 @@ const category = (req, res, next) => {
214 214
215 /* 勿修改,唤起 APP 使用 */ 215 /* 勿修改,唤起 APP 使用 */
216 let appParams = Object.assign({}, req.query, { 216 let appParams = Object.assign({}, req.query, {
217 - title: req.query.sort_name || '' 217 + title: req.query.title || req.query.sort_name || ''
218 }); 218 });
219 219
220 let appPath = 'yohobuy://yohobuy.com/goapp?openby:yohobuy={"action":"go.list","params":' + 220 let appPath = 'yohobuy://yohobuy.com/goapp?openby:yohobuy={"action":"go.list","params":' +
@@ -251,11 +251,11 @@ const shop = { @@ -251,11 +251,11 @@ const shop = {
251 } 251 }
252 252
253 let appPath = 'yohobuy://yohobuy.com/goapp?openby:yohobuy={"action":"go.shop","params":{"shop_template_type":"1","shop_id":"' + 253 let appPath = 'yohobuy://yohobuy.com/goapp?openby:yohobuy={"action":"go.shop","params":{"shop_template_type":"1","shop_id":"' +
254 - shopId + '","shop_name":"' + baseShop.shopName + '"}}'; 254 + shopId + '","shop_name":"' + shopInfo.shop_name + '"}}';
255 255
256 if (shopInfoResult.is_red_shop === 1) { 256 if (shopInfoResult.is_red_shop === 1) {
257 appPath = 'yohobuy://yohobuy.com/goapp?openby:yohobuy={"action":"go.shop","params":{"shop_template_type":"1","is_red_shop":"1","shop_id":"' + 257 appPath = 'yohobuy://yohobuy.com/goapp?openby:yohobuy={"action":"go.shop","params":{"shop_template_type":"1","is_red_shop":"1","shop_id":"' +
258 - shopId + '","shop_name":"' + baseShop.shopName + '"}}'; 258 + shopId + '","shop_name":"' + shopInfo.shop_name + '"}}';
259 } 259 }
260 260
261 res.render('newshop/shop-base', { 261 res.render('newshop/shop-base', {