Authored by 黄涛

Merge branch 'hotfix/students' into 'master'

students num and more url

@huangtao @gaohongwei 

See merge request !9
... ... @@ -74,8 +74,10 @@ exports.getStudentsData = (channel, req) => {
{title: '学生热门单品', href: 'stu-good'},
{title: '更多活动推荐', href: 'stu-activity'}
],
identityItem: {
stuNum: []
identityObj: {
identityItem: {
stuNum: []
}
}
},
... ... @@ -91,7 +93,7 @@ exports.getStudentsData = (channel, req) => {
}
if (result[2].code === 200) {
responseData.realData.identityItem.stuNum = stuHandler.studentsNum(result[2].data);
responseData.realData.identityObj.identityItem.stuNum = stuHandler.studentsNum(result[2].data);
}
if (result[3].code === 200) {
... ...
... ... @@ -69,7 +69,7 @@
<h2 class="floor-title">热门单品</h2>
</a>
<span class="floor-more">
<a target="_blank" href="{{moreProducts}}" id="stu-good-more">MORE ></a>
<a target="_blank" href="{{../moreProducts}}" id="stu-good-more">MORE ></a>
</span>
</div>
<div class="commodity-list clearfix">
... ...