import request from '@/utils/request' import qs from 'qs' // 获取初始化数据 export function FetchInitSetting(params) { return request({ url: '/qyzt/initSetting' + '?' + qs.stringify(params, { indices: false }), method: 'get' }) } // page1 云标签 export function FetchHotSearch(params) { return request({ url: '/qyzt/getHotSearch' + '?' + qs.stringify(params, { indices: false }), method: 'get' }) } // page1 获取公众号总粉丝数 export function FetchFansCount(params) { return request({ url: '/qyzt/getfansCount' + '?' + qs.stringify(params, { indices: false }), method: 'get' }) } // page1 新书推荐 export function FetchNewBook(params) { return request({ url: '/qyzt/getNewBook' + '?' + qs.stringify(params, { indices: false }), method: 'get' }) } // // 借阅排行榜 // export function FetchBorrowRank(params) { // return request({ // url: '/dxhtsg/borrowRank', // method: 'get', // params: params // }) // } // // 阅读之星 // export function FetchBorrowStar(params) { // return request({ // url: '/dxhtsg/borrowStar', // method: 'get', // params: params // }) // } // // 新书推荐 // export function FetchNewBookRecommend(params) { // return request({ // url: '/dxhtsg/newBookRecommend', // method: 'get', // params: params // }) // } // // 通知公告 // export function FetchInitNotice(params) { // return request({ // url: '/dxhtsg/initNotice', // method: 'get', // params: params // }) // } // // 进馆人数 // export function FetchInitIntoNum(params) { // return request({ // url: '/dxhtsg/initIntoNum', // method: 'get', // params: params // }) // } // // 24小时借还量 // export function FetchHalfYearBRNum(params) { // return request({ // url: '/dxhtsg/getHalfYearBRNum', // method: 'get', // params: params // }) // } // // 大屏幕播放文件 // export function FetchShowFileList(params) { // return request({ // url: '/dxhtsg/showFileList', // method: 'get', // params: params // }) // } // // 通过isbn获取图书封面 // export function FetchCoverByISBN(params) { // return request({ // url: '/dxhtsg/getCoverByISBN', // method: 'get', // params: params // // responseType: 'blob' // }) // } export default { FetchInitSetting, FetchHotSearch, FetchFansCount, FetchNewBook }