resource.js 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. //url: 'http://ljvideo.ai160.com/vs2m/001/00103024/00103024026/00103024026.m3u8',
  35. url: 'http://ljvideo.ai160.com/vs2m/001/00103024/00103024026/00103024026.m3u8',
  36. }
  37. ]);
  38. }
  39. module.exports = { resourceList };