course.js 945 B

12345678910111213141516171819202122232425262728
  1. let courseList = [];
  2. const statuses = ['NORMAL', 'DEL'];
  3. for (let i = 1; i < 500; i++) {
  4. courseList.push({
  5. id: String(i * 3),
  6. code: 'course-code-' + i,
  7. name: '小学语文二年级上册' + i,
  8. title: '小学语文二年级上册' + i,
  9. digest: '这段是课程描述,很长很长很长很长很长很长很长很长很长很长很长很长...',
  10. detail: '这段是课程详情,这门课程讲的是小学语文,有很多很多很多很多很多很多很多很多的故事...',
  11. keyword: null,
  12. cvImg: {
  13. id: '10111',
  14. url: 'http://efunimgs.oss-cn-beijing.aliyuncs.com/resources/J/02/01/612102.jpg',
  15. },
  16. bgImg: {
  17. id: '20111',
  18. url: 'http://efunimgs.oss-cn-beijing.aliyuncs.com/resources/J/02/01/612102.jpg',
  19. },
  20. cpId: null,
  21. cpName: null,
  22. status: statuses[i % 2],
  23. gmtCreated: 1512981450000,
  24. gmtModified: 1512981450000,
  25. })
  26. }
  27. module.exports = { courseList };