1234567891011121314151617181920212223242526272829303132333435363738 |
- let resourceList = [];
- for (let i = 1; i < 100; i++) {
- resourceList = resourceList.concat([
- {
- id: 'abckiejij23423jkdajkdk0' + i,
- code: 'J-02-01-612101' + i,
- name: '破解表情密码01',
- size: 90,
- status: 'NORMAL',
- type: 3,
- gmtCreated: (new Date()).getTime(),
- gmtModified: (new Date()).getTime(),
- url: 'http://efunimgs.oss-cn-beijing.aliyuncs.com/resources/J/02/01/612102.jpg',
- },{
- 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 = { resourceList };
|