大湾社区城市书房智慧大屏
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.
 
 
 
 
 

205 lines
4.9 KiB

import request from '@/utils/request'
import qs from 'qs'
// 获取token
export function FetchInitToken(params) {
return request({
url: '/openlib/service/barcode/token' + '?' + qs.stringify(params, { indices: false }),
method: 'get',
urlType: 'interlib'
})
}
// 馆藏量
export function FetchLibBookTotal(params) {
return request({
url: '/qyzt/sync35' + '?' + qs.stringify(params, { indices: false }),
method: 'get',
urlType: 'local'
})
}
// 办证量统计
export function FetchUsertotal(params) {
return request({
url: '/qyzt/usertotal' + '?' + qs.stringify(params, { indices: false }),
method: 'get',
urlType: 'local'
})
}
// page1 获取公众号总粉丝数
export function FetchFansCount(params) {
return request({
url: '/qyzt/getfansCount' + '?' + qs.stringify(params, { indices: false }),
method: 'get',
urlType: 'local'
})
}
// page1 累计借出
export function FetchLendingTotal(params) {
return request({
url: '/qyzt/sync82' + '?' + qs.stringify(params, { indices: false }),
method: 'get',
urlType: 'local'
})
}
// 获取初始化数据
export function FetchInitSetting(params) {
return request({
url: '/qyzt/initSetting' + '?' + qs.stringify(params, { indices: false }),
method: 'get',
urlType: 'local'
})
}
// page1 云标签
export function FetchHotSearch(params) {
return request({
url: '/qyzt/getHotSearch' + '?' + qs.stringify(params, { indices: false }),
method: 'get',
urlType: 'local'
})
}
// page1 新书推荐
export function FetchNewBook(params) {
return request({
url: '/qyzt/getNewBook' + '?' + qs.stringify(params, { indices: false }),
method: 'get',
urlType: 'local'
})
}
// 通过isbn获取图书详细信息
export function FetchMarcByISBN(params) {
return request({
url: '/qyzt/marcByISBN' + '?' + qs.stringify(params, { indices: false }),
method: 'get',
urlType: 'local'
})
}
// page2 获取分馆显示内容
export function FetchLibcodeDetails(params) {
return request({
url: '/qyzt/getLibcodeDetails' + '?' + qs.stringify(params, { indices: false }),
method: 'get',
urlType: 'local'
})
}
// 获取分馆图片资料
export function FetchLibcodeResouceDetails(params) {
return request({
url: '/qyzt/getLibcodeResouceDetails' + '?' + qs.stringify(params, { indices: false }),
method: 'get',
urlType: 'local'
})
}
// page2 读者借阅排行榜
export function FetchReadRanking(params) {
return request({
url: '/qyzt/sync37' + '?' + qs.stringify(params, { indices: false }),
method: 'get',
urlType: 'local'
})
}
// page4 获取通知
export function FetchNoticeList(params) {
return request({
url: '/qyzt/getNoticeList' + '?' + qs.stringify(params, { indices: false }),
method: 'get',
urlType: 'local'
})
}
// page4 文献排行榜
export function FetchSync36(params) {
return request({
url: '/qyzt/sync36' + '?' + qs.stringify(params, { indices: false }),
method: 'get',
urlType: 'local'
})
}
// page4 获取总馆资料
export function FetchTotalResource(params) {
return request({
url: '/qyzt/getTotalResource' + '?' + qs.stringify(params, { indices: false }),
method: 'get',
urlType: 'local'
})
}
// 获取当日每小时借还信息
export function FetchTodayJH(params) {
return request({
url: '/qyzt/getTodayJH' + '?' + qs.stringify(params, { indices: false }),
method: 'get',
urlType: 'local'
})
}
// 获取一周内借还信息
export function FetchWeekJH(params) {
return request({
url: '/qyzt/getWeekJH' + '?' + qs.stringify(params, { indices: false }),
method: 'get',
urlType: 'local'
})
}
// initIntoNum
export function FetchInitIntoNum(params) {
return request({
url: '/dxhtsg/initIntoNum' + '?' + qs.stringify(params, { indices: false }),
method: 'get',
urlType: 'local'
})
}
// 获取本年四个季度的数据
export function FetchQuarterJH(params) {
return request({
url: '/qyzt/getQuarterJH' + '?' + qs.stringify(params, { indices: false }),
method: 'get',
urlType: 'local'
})
}
// 今年每个月的
export function FetchMonthJH(params) {
return request({
url: '/qyzt/getMonthJH' + '?' + qs.stringify(params, { indices: false }),
method: 'get',
urlType: 'local'
})
}
export default {
FetchInitToken,
FetchLibBookTotal,
FetchUsertotal,
FetchFansCount,
FetchLendingTotal,
FetchInitSetting,
FetchHotSearch,
FetchNewBook,
FetchMarcByISBN,
FetchReadRanking,
FetchLibcodeDetails,
FetchLibcodeResouceDetails,
FetchNoticeList,
FetchSync36,
FetchTotalResource,
FetchTodayJH,
FetchWeekJH,
FetchInitIntoNum,
FetchQuarterJH,
FetchMonthJH
}