Authored by 周少峰

update version

... ... @@ -41,7 +41,7 @@ async function asyncData(req, res) {
products: req.ctx(indexService).newArrive(),
rec: req.ctx(indexService).recommend(uid, udid, channelNum)
});
res.json(data);
}
... ...
{
"name": "yohobuy-node",
"version": "5.9.97",
"version": "5.9.96",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...
... ... @@ -188,7 +188,7 @@ function pageChange(self, $ul, page, itemWith, curPage, num) {
// 异步数据
$.getJSON('//www.yohobuy.com/home/index/async', function(data){
$.getJSON('//www.yohobuy.com/home/index/async', function(data) {
// 首页异步数据待处理订单,未读消息,待分享商品数量
if (data.numbers) {
... ... @@ -211,5 +211,5 @@ function pageChange(self, $ul, page, itemWith, curPage, num) {
if (data.rec) {
$recommendBox.html(handlebars.compile($recommendTpl)(data.rec));
}
})
});
}());
... ...