Authored by 周少峰

delete test data

@@ -23,12 +23,7 @@ exports.index = (req, res, next) => { @@ -23,12 +23,7 @@ exports.index = (req, res, next) => {
23 23
24 studentsModel.getStudentsData(channel, req).then(result => { 24 studentsModel.getStudentsData(channel, req).then(result => {
25 25
26 - let responseData = studentsModel.getTestData(channel);  
27 -  
28 - // let responseData = {};  
29 - Object.assign(responseData, result);  
30 -  
31 - res.render('students/index', responseData); 26 + res.render('students/index', result);
32 27
33 }).catch(next); 28 }).catch(next);
34 }; 29 };