GET 取得最近用户使用过的文件夹列表
**

范例代码:

  1. var requestOptions = {
  2. method: 'GET',
  3. redirect: 'follow'
  4. };
  5. fetch("http://localhost:41595/api/folder/listRecent", requestOptions)
  6. .then(response => response.json())
  7. .then(result => console.log(result))
  8. .catch(error => console.log('error', error));

返回结果:

  1. {
  2. "status": "success",
  3. "data": [
  4. {
  5. "id": "KBCB8BK86WIW1",
  6. "name": "工业风",
  7. "description": "",
  8. "children": [],
  9. "modificationTime": 1591972345736,
  10. "tags": [],
  11. "password": "",
  12. "passwordTips": "",
  13. "images": [],
  14. "isExpand": true,
  15. "newFolderName": "工业风",
  16. "imagesMappings": {},
  17. "imageCount": 11,
  18. "descendantImageCount": 11,
  19. "pinyin": "GONGYEFENG",
  20. "extendTags": []
  21. },
  22. {
  23. "id": "KBBPIOY46SRWP",
  24. "name": "北歐风格",
  25. "description": "",
  26. "children": [],
  27. "modificationTime": 1591773342438,
  28. "tags": [],
  29. "password": "",
  30. "passwordTips": "",
  31. "images": [],
  32. "isExpand": true,
  33. "newFolderName": "北歐风格",
  34. "imagesMappings": {},
  35. "imageCount": 72,
  36. "descendantImageCount": 72,
  37. "pinyin": "BEIOUFENGGE",
  38. "extendTags": []
  39. }
  40. ]
  41. }