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.
144 lines
3.6 KiB
144 lines
3.6 KiB
import request from '../utils/request';
|
|
// 字典项 - 馆代码
|
|
export function FetchDictionaryTree(data) {
|
|
return request({
|
|
url: '/api/dictionary/initDictionaryTree',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 查询读者当前借阅(群)
|
|
// http://192.168.99.63:14000/api/screenSetting/rdloanlist?rdid=420703GD0000748&sm4Key=86ACEF6CE6A65A4A&thirdAppid=feitian_gdlib&thirdSecret=edi56b6p5hi69dwk03so86uv2olhszqp&thirdUrl=http://218.200.95.251:8088/openlib
|
|
export function FetchRdloanlist(data) {
|
|
return request({
|
|
url: '/api/screenSetting/rdloanlist',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 查询读者历史借阅
|
|
// http://192.168.99.63:14000/api/screenSetting/historyloan?rdid=420703GD0000748&sm4Key=86ACEF6CE6A65A4A&thirdAppid=feitian_gdlib&thirdSecret=edi56b6p5hi69dwk03so86uv2olhszqp&thirdUrl=http://218.200.95.251:8088/openlib
|
|
export function FetchHistoryloan(data) {
|
|
return request({
|
|
url: '/api/screenSetting/historyloan',
|
|
data
|
|
})
|
|
}
|
|
|
|
|
|
// 续借(群)
|
|
// http://192.168.99.63:14000/api/screenSetting/renewbook?barcode=420703GD00004461&logtype=30007&opuser=JH001&rdid=420703GD0000748&sm4Key=86ACEF6CE6A65A4A&thirdAppid=feitian_gdlib&thirdSecret=edi56b6p5hi69dwk03so86uv2olhszqp&thirdUrl=http://218.200.95.251:8088/openlib
|
|
export function FetchRenewbook(data) {
|
|
return request({
|
|
url: '/api/screenSetting/renewbook',
|
|
data
|
|
})
|
|
}
|
|
|
|
|
|
// 图书推荐
|
|
export function FetchInitScreenBookRecommend(data) {
|
|
return request({
|
|
url: '/api/screenSetting/initScreenBookRecommend',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 图书检索接口
|
|
// http://192.168.99.63:14000/api/screenSetting/bookSearch?opacUrl=http%3A%2F%2F218.200.95.251%3A8081%2Fopac%2F&page=1&query=%E5%BE%AE%E4%BF%A1&rows=10&scWay=dim&searchWay=title&sortOrder=desc&sortWay=score
|
|
|
|
// opacUrl / page:'1' / query / rows:'10' / scWay / searchWay / sortOrder desc / sortWay
|
|
export function FetchBookSearch(data) {
|
|
return request({
|
|
url: '/api/screenSetting/bookSearch',
|
|
data
|
|
})
|
|
}
|
|
|
|
|
|
// 书目记录号获取书目信息接口
|
|
// /api/screenSetting/findbookByQuery?opacUrl=http://218.200.95.251:8081/opac/&bookrecno=
|
|
|
|
export function FetchFindbookByQuery(data) {
|
|
return request({
|
|
url: '/api/screenSetting/findbookByQuery',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 通过isbn获取图书封面
|
|
export function FetchCoverByISBN(data) {
|
|
return request({
|
|
url: '/dxhtsg/getCoverByISBN',
|
|
data
|
|
})
|
|
}
|
|
|
|
|
|
// 文献排行榜
|
|
export function FetchBookRanking(data) {
|
|
return request({
|
|
url: '/api/screenSetting/sync36',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 读者借阅排行榜
|
|
// /api/screenSetting/sync37
|
|
|
|
|
|
// 馆藏量
|
|
// /api/screenSetting/sync35
|
|
|
|
|
|
// 累计借出
|
|
// /api/screenSetting/sync82
|
|
|
|
|
|
|
|
// 根据用户openID获取收藏图书
|
|
// ?libcode=ftzn&openId=11&page=1&size=10&title=11
|
|
export function FetchFindAllBookCollectionByOpenId(data) {
|
|
return request({
|
|
url: '/api/weixin/findAllBookCollectionByOpenId',
|
|
data
|
|
})
|
|
}
|
|
|
|
//
|
|
// 收藏图书
|
|
//{
|
|
// "author": "string",
|
|
// "bookrecno": "string",
|
|
// "booktype": "string",
|
|
// "classno": "string",
|
|
|
|
// "isbn": "string",
|
|
// "libcode": "string",
|
|
// "openid": "string",
|
|
// "page": "string",
|
|
// "price": "string",
|
|
// "pubdate": "string",
|
|
// "publisher": "string",
|
|
// "subject": "string",
|
|
// "title": "string"
|
|
// }
|
|
export function FetchCollectionBook(data) {
|
|
return request({
|
|
url: '/api/weixin/collectionBook',
|
|
method: 'POST',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 取消收藏
|
|
// {
|
|
// "id": 0
|
|
// }
|
|
export function FetchCancelCollectionBook(data) {
|
|
return request({
|
|
url: '/api/weixin/cancelCollectionBook',
|
|
method: 'POST',
|
|
data
|
|
})
|
|
}
|