...
|
...
|
@@ -90,7 +90,8 @@ let index = (req, res, next) => { |
|
|
channelList: result[0].channelList,
|
|
|
yohood: result[0].yohood,
|
|
|
double11: result[0].double11,
|
|
|
background: result[1]
|
|
|
background: result[1],
|
|
|
appPath: 'yohobuy://yohobuy.com/goapp?openby:yohobuy={"action":"go.home","params":{"channel":"1"}}'
|
|
|
});
|
|
|
}).catch(next);
|
|
|
};
|
...
|
...
|
@@ -123,7 +124,8 @@ let boys = (req, res, next) => { |
|
|
gender: 'boys',
|
|
|
|
|
|
// title: '男生 | Yoho!Buy有货 | 潮流购物逛不停',
|
|
|
boysHomePage: true
|
|
|
boysHomePage: true,
|
|
|
appPath: 'yohobuy://yohobuy.com/goapp?openby:yohobuy={"action":"go.home","params":{"channel":"1"}}'
|
|
|
}).catch(next); // TODO 我们在路由处理的最上层的方法处理catch
|
|
|
};
|
|
|
|
...
|
...
|
@@ -135,7 +137,8 @@ let girls = (req, res, next) => { |
|
|
gender: 'girls',
|
|
|
|
|
|
// title: '女生 | Yoho!Buy有货 | 潮流购物逛不停',
|
|
|
girlsHomePage: true
|
|
|
girlsHomePage: true,
|
|
|
appPath: 'yohobuy://yohobuy.com/goapp?openby:yohobuy={"action":"go.home","params":{"channel":"2"}}'
|
|
|
}).catch(next);
|
|
|
};
|
|
|
|
...
|
...
|
@@ -148,7 +151,8 @@ let kids = (req, res, next) => { |
|
|
gender: 'kids',
|
|
|
|
|
|
// title: '潮童 | Yoho!Buy有货 | 潮流购物逛不停',
|
|
|
kidsHomePage: true
|
|
|
kidsHomePage: true,
|
|
|
appPath: 'yohobuy://yohobuy.com/goapp?openby:yohobuy={"action":"go.home","params":{"channel":"3"}}'
|
|
|
}).catch(next);
|
|
|
};
|
|
|
|
...
|
...
|
@@ -160,7 +164,8 @@ let lifestyle = (req, res, next) => { |
|
|
gender: 'lifestyle',
|
|
|
|
|
|
// title: '创意生活 | Yoho!Buy有货 | 潮流购物逛不停',
|
|
|
lifestyleHomePage: true
|
|
|
lifestyleHomePage: true,
|
|
|
appPath: 'yohobuy://yohobuy.com/goapp?openby:yohobuy={"action":"go.home","params":{"channel":"4"}}'
|
|
|
}).catch(next);
|
|
|
};
|
|
|
|
...
|
...
|
|