You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
872 B
46 lines
872 B
import request from '@/utils/request'
|
|
// import qs from 'qs'
|
|
|
|
// 数字资源
|
|
export function initNumberResoures(params) {
|
|
return request({
|
|
url: '/dxhtsg/initNumberResoures',
|
|
method: 'get',
|
|
params: params
|
|
})
|
|
}
|
|
|
|
// 新书推荐
|
|
export function FetchNewBookRecommend(params) {
|
|
return request({
|
|
url: '/dxhtsg/newBookRecommend',
|
|
method: 'get',
|
|
params: params
|
|
})
|
|
}
|
|
|
|
// 通过isbn获取图书封面
|
|
export function FetchCoverByISBN(params) {
|
|
return request({
|
|
url: '/dxhtsg/getCoverByISBN',
|
|
method: 'get',
|
|
params: params,
|
|
responseType: 'blob'
|
|
})
|
|
}
|
|
|
|
// 图书详情
|
|
export function getBookDetailsByISBN(params) {
|
|
return request({
|
|
url: '/dxhtsg/getBookDetailsByISBN',
|
|
method: 'get',
|
|
params: params
|
|
})
|
|
}
|
|
|
|
export default {
|
|
FetchNewBookRecommend,
|
|
FetchCoverByISBN,
|
|
initNumberResoures,
|
|
getBookDetailsByISBN
|
|
}
|