12345678910111213141516171819202122232425262728 |
- let courseList = [];
- const statuses = ['NORMAL', 'DEL'];
- for (let i = 1; i < 500; i++) {
- courseList.push({
- id: String(i * 3),
- code: 'course-code-' + i,
- name: '小学语文二年级上册' + i,
- title: '小学语文二年级上册' + i,
- digest: '这段是课程描述,很长很长很长很长很长很长很长很长很长很长很长很长...',
- detail: '这段是课程详情,这门课程讲的是小学语文,有很多很多很多很多很多很多很多很多的故事...',
- keyword: null,
- cvImg: {
- id: '10111',
- url: 'http://efunimgs.oss-cn-beijing.aliyuncs.com/resources/J/02/01/612102.jpg',
- },
- bgImg: {
- id: '20111',
- url: 'http://efunimgs.oss-cn-beijing.aliyuncs.com/resources/J/02/01/612102.jpg',
- },
- cpId: null,
- cpName: null,
- status: statuses[i % 2],
- gmtCreated: 1512981450000,
- gmtModified: 1512981450000,
- })
- }
- module.exports = { courseList };
|