//收藏夹
import request from '@/utils/request'

//通过userId查看收藏夹中的档案
export const getFavoriteListByUserId = params => {
    return request({
        url: '/point-strategy/archives/getFavoriteListByUserId',
        method: 'get',
        params
    })
}

// 移除收藏夹
export const deleteFavorites = params => {
    return request({
        url: '/point-strategy/v/AddToFavoriteController/deleteFavorites',
        method: 'post',
        params
    })
}

// 收藏夹报表
export const reportFavoritesPdf = params => {
    return request({
        url: '/point-strategy/v/ureport/reportFavoritesPdf',
        method: 'post',
        params
    })
}