lesson.js 433 B

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