123456789101112131415161718192021222324252627282930313233343536 |
- const wareList = [];
- for (let i = 1; i < 401; i++) {
- wareList.push({
- id: String(i),
- code: 'J-001-' + i,
- name: `第${i}课件`,
- digest: null,
- cpId: '805',
- status: 'NORMAL',
- gmtCreated: 1512981450000,
- gmtModified: 1512981450000,
- resourceList: [{
- id: 'abckiejijnafkdjkdafsk0' + i,
- code: 'J-01-03' + i,
- name: '测试图片',
- size: 100,
- status: 'DEL',
- type: '3',
- gmtCreated: (new Date()).getTime(),
- gmtModified: (new Date()).getTime(),
- url: 'http://efunimgs.oss-cn-beijing.aliyuncs.com/resources/J/02/01/611901.jpg',
- },{
- id: 'dsakfjweioqdasfjkadioe' + i,
- code: 'V-01-02' + i,
- name: '测试视频',
- size: 1024,
- status: 'NORMAL',
- type: '0',
- gmtCreated: (new Date()).getTime(),
- gmtModified: (new Date()).getTime(),
- url: 'http://efunvideo.ai160.com/vs2m/015/01503009/01503009031/01503009031.m3u8',
- }],
- });
- }
- module.exports = { wareList };
|