GET
取得最近用户使用过的文件夹列表
**
范例代码:
var requestOptions = {
method: 'GET',
redirect: 'follow'
};
fetch("http://localhost:41595/api/folder/listRecent", requestOptions)
.then(response => response.json())
.then(result => console.log(result))
.catch(error => console.log('error', error));
返回结果:
{
"status": "success",
"data": [
{
"id": "KBCB8BK86WIW1",
"name": "工业风",
"description": "",
"children": [],
"modificationTime": 1591972345736,
"tags": [],
"password": "",
"passwordTips": "",
"images": [],
"isExpand": true,
"newFolderName": "工业风",
"imagesMappings": {},
"imageCount": 11,
"descendantImageCount": 11,
"pinyin": "GONGYEFENG",
"extendTags": []
},
{
"id": "KBBPIOY46SRWP",
"name": "北歐风格",
"description": "",
"children": [],
"modificationTime": 1591773342438,
"tags": [],
"password": "",
"passwordTips": "",
"images": [],
"isExpand": true,
"newFolderName": "北歐风格",
"imagesMappings": {},
"imageCount": 72,
"descendantImageCount": 72,
"pinyin": "BEIOUFENGGE",
"extendTags": []
}
]
}