resource.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. let resourceList = [];
  2. for (let i = 1; i < 100; i++) {
  3. resourceList = resourceList.concat([
  4. {
  5. id: 'abckiejij23423jkdajkdk0' + i,
  6. code: 'J-02-01-612101' + i,
  7. name: '破解表情密码01',
  8. size: 90,
  9. status: 'NORMAL',
  10. type: 3,
  11. gmtCreated: (new Date()).getTime(),
  12. gmtModified: (new Date()).getTime(),
  13. url: 'http://efunimgs.oss-cn-beijing.aliyuncs.com/resources/J/02/01/612102.jpg',
  14. },{
  15. id: 'abckiejijnafkdjkdafsk0' + i,
  16. code: 'J-01-03' + i,
  17. name: '测试图片',
  18. size: 100,
  19. status: 'DEL',
  20. type: 3,
  21. gmtCreated: (new Date()).getTime(),
  22. gmtModified: (new Date()).getTime(),
  23. url: 'http://efunimgs.oss-cn-beijing.aliyuncs.com/resources/J/02/01/611901.jpg',
  24. },{
  25. id: 'dsakfjweioqdasfjkadioe' + i,
  26. code: 'V-01-02' + i,
  27. name: '测试视频',
  28. size: 1024,
  29. status: 'NORMAL',
  30. type: 0,
  31. gmtCreated: (new Date()).getTime(),
  32. gmtModified: (new Date()).getTime(),
  33. url: 'http://efunvideo.ai160.com/vs2m/015/01503009/01503009031/01503009031.m3u8',
  34. }
  35. ]);
  36. }
  37. module.exports = { resourceList };