linwenling
2023-09-12 66db80bd6679d011c67ae289e4ded4fa4a76e5d4
ruoyi-ui/src/api/collection/index.js
@@ -9,6 +9,15 @@
  })
}
//类别数据
export function listType(query) {
  return request({
    url: '/zfCollection/type',
    method: 'get',
    params: query
  })
}
// 根据id查询收藏和荣誉
export function getCollection(id) {
  return request({
@@ -62,3 +71,12 @@
    responseType: 'blob'
  })
}
//导入
export function enload(data) {
  return request({
    url: '/zfCollection/importData',
    method: 'post',
    data: data
  })
}