Authored by 周少峰

delete test data

... ... @@ -23,12 +23,7 @@ exports.index = (req, res, next) => {
studentsModel.getStudentsData(channel, req).then(result => {
let responseData = studentsModel.getTestData(channel);
// let responseData = {};
Object.assign(responseData, result);
res.render('students/index', responseData);
res.render('students/index', result);
}).catch(next);
};
... ...