GET 取得软件中最近使用过的资源库列表
**

范例代码:

  1. var requestOptions = {
  2. method: 'GET',
  3. redirect: 'follow'
  4. };
  5. fetch("http://localhost:41595/api/library/history", 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. "/Users/augus/Google 云端硬盘/设计领域.library",
  5. "/Users/augus/Google 云端硬盘/辦公室風格.library",
  6. "/Users/augus/Google 云端硬盘/设计素材库.library"
  7. ]
  8. }