Authored by 毕凯

Merge branch 'hotfix/undefined' into 'gray'

del-apppath



See merge request !1212
@@ -343,20 +343,6 @@ const listNew = (req, res, next) => { @@ -343,20 +343,6 @@ const listNew = (req, res, next) => {
343 title: categoryIntroRedis[0], 343 title: categoryIntroRedis[0],
344 desc: categoryIntroRedis[1] 344 desc: categoryIntroRedis[1]
345 } : null; 345 } : null;
346 - let appPath = 'yohobuy://yohobuy.com/goapp';  
347 -  
348 - if (params.gender && params.category_id) {  
349 - let appParams = {  
350 - gender: params.gender,  
351 - title: params.seoTitle,  
352 - category_id: params.category_id,  
353 - actiontype: params.actiontype || '1'  
354 - };  
355 -  
356 - appPath = 'yohobuy://yohobuy.com/goapp?openby:yohobuy={"action":"go.list","params":' +  
357 - JSON.stringify(appParams) +  
358 - '}';  
359 - }  
360 346
361 res.render('search/list-new', Object.assign({ 347 res.render('search/list-new', Object.assign({
362 _noLazy: true, // 首屏不使用lazyload 348 _noLazy: true, // 首屏不使用lazyload
@@ -372,7 +358,6 @@ const listNew = (req, res, next) => { @@ -372,7 +358,6 @@ const listNew = (req, res, next) => {
372 firstPageGoods: responseResult || [], 358 firstPageGoods: responseResult || [],
373 pageFooter: true, 359 pageFooter: true,
374 localCss: true, 360 localCss: true,
375 - appPath: appPath,  
376 categoryIntro: categoryIntro 361 categoryIntro: categoryIntro
377 }, seoRenderData)); 362 }, seoRenderData));
378 })().catch(next); 363 })().catch(next);