import { post } from '../utils/http'

// 获取对象的收藏状态
export function getCollectStatus(params) {
  return post('/ObjectFavoriteLog/isCollect', params)
}
// 收藏对象
export function collectObject(params) {
  return post('/ObjectFavoriteLog/collect', params)
}
// 取消收藏对象
export function unCollectObject(params) {
  return post('/ObjectFavoriteLog/unCollect', params)
}
// 获取容器的最近访问记录
export function getContextRecentRecords(params) {
  return post('/UserSpace/findLogPage', params)
}