...
|
...
|
@@ -53,8 +53,11 @@ exports.getStudentsData = (channel) => { |
|
|
|
|
|
realData: {
|
|
|
sortItem: [{title: '学生权益介绍', href: 'stu-rights'}, {title: '我要验证身份', href: 'stu-identity'},
|
|
|
{title: '学生热门单品', href: 'stu-good'}, {title: '更多活动推荐', href: 'stu-activity'}]
|
|
|
|
|
|
{title: '学生热门单品', href: 'stu-good'}, {title: '更多活动推荐', href: 'stu-activity'}],
|
|
|
identityItem: {
|
|
|
sendCoin: 100,
|
|
|
stuNum: []
|
|
|
}
|
|
|
},
|
|
|
|
|
|
footerTop: true
|
...
|
...
|
@@ -65,9 +68,9 @@ exports.getStudentsData = (channel) => { |
|
|
Object.assign(responseData.realData, stuHandler.studentResource(result[1].data));
|
|
|
}
|
|
|
|
|
|
// if (result[2].code === 200) {
|
|
|
|
|
|
// }
|
|
|
if (result[2].code === 200) {
|
|
|
responseData.realData.identityItem.stuNum = stuHandler.studentsNum(result[2].data);
|
|
|
}
|
|
|
|
|
|
if (result[3].code === 200) {
|
|
|
Object.assign(responseData.realData, {proItem: stuHandler.stuProducts(result[3].data.product_list)});
|
...
|
...
|
|