1234567891011121314151617 |
- let lessonList = [];
- const status = ['NORMAL', 'DEL'];
- for (let i = 1; i < 100; i++) {
- lessonList.push({
- id: String(i),
- code: 'Lesson-test-' + i,
- name: '心里课' + i,
- digest: '这是一段描述,我很累很累,对不起,是我太差劲。',
- sort: i,
- status: status[i % 2],
- gmtCreated: 1512981450000,
- gmtModified: 1512981450000,
- wareList: null,
- });
- }
- module.exports = { lessonList };
|