123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324 |
- import { fetch, uploadFile } from './util.js'
- const fetchFn = url => paras => fetch(Object.assign({ url }, paras))
- const uploadFileFn = url => paras => uploadFile(Object.assign({ url }, paras))
- export const UploadFile = uploadFileFn('/wxapi/images/uploadForm')
- export const WxLogin = fetchFn('/wxapi/user/readingLogin')
- export const FirstWxLogin = fetchFn('/wxapi/user/newReadingLogin')
- export const GetMineInfo = fetchFn('/wxapi/reading/mine')
- export const GetVipInfo = fetchFn('/wxapi/reading/vipInfo')
- export const SaveVipInfo = fetchFn('/wxapi/reading/saveLibVip')
- export const GetLibrary = fetchFn('/wxapi/reading/positionJoin')
- export const GetpositionArea = fetchFn('/wxapi/reading/positionArea')
- export const GetParentHome = fetchFn('/wxapi/reading/goodbook')
- export const GetBorrowBookNum = fetchFn('/wxapi/reading/lendingTimes')
- export const AddWishBooks = fetchFn('/wxapi/reading/addWish')
- export const GetBookDetail = fetchFn('/wxapi/reading/bookIsbnDetail')
- export const GetBorrowBook = fetchFn('/wxapi/reading/haveToBorrow')
- export const BorrowBook = fetchFn('/wxapi/reading/confirmBorrowing')
- export const GetBookRecommend = fetchFn('/wxapi/reading/bookRecommend')
- export const GetGrowthRecord = fetchFn('/wxapi/reading/growthRecord')
- export const GetQuestion = fetchFn('/api/problem/list')
- export const ToReservation = fetchFn('/wxapi/reading/woYaoReservation')
- export const AlreadyReservation = fetchFn('/wxapi/reading/alreadyReservation')
- export const SearchIndex = fetchFn('/wxapi/reading/searchIndex')
- export const SearchBookList = fetchFn('/wxapi/reading/bookList')
- export const ThemeSearch = fetchFn('/wxapi/reading/themeSearch')
- export const MyWishBook = fetchFn('/wxapi/reading/myWish')
- export const OthersWishBook = fetchFn('/wxapi/reading/othersWish')
- export const WishHelp = fetchFn('/wxapi/reading/wishHelp')
- export const WishBookDetail = fetchFn('/wxapi/reading/wishDetails')
- export const DispatcherIndex = fetchFn('/wxapi/reading/dispatcherIndex')
- export const DispatcherAudit = fetchFn('/wxapi/reading/dispatcherAudit')
- export const GetSweepedBooks = fetchFn('/wxapi/reading/scanBookList')
- export const DeleteSweepedBooks = fetchFn('/wxapi/reading/deleteBooks')
- export const DispatcherScanning = fetchFn('/wxapi/reading/dispatcherScanning')
- export const ConfirmToLib = fetchFn('/wxapi/reading/confirmToLib')
- export const ConfirmToZb = fetchFn('/wxapi/reading/confirmToZb')
- export const GetDispatcherInfo = fetchFn('/wxapi/reading/dispatcherInfo')
- export const GetWithdrawLibrary = fetchFn('/wxapi/reading/cancelLibList')
- export const GetWithdrawLibraryDetail = fetchFn('/wxapi/reading/cancelLibBookInfo')
- export const ComfirmWithdrawLibrary = fetchFn('/wxapi/reading/cancelComfirm')
- export const GetRecoveryListHeadInfo = fetchFn('/wxapi/reading/cancelLibHeadInfo')
- export const GetRecoveryList = fetchFn('/wxapi/reading/recoveryList')
- export const DispatcherRecovery = fetchFn('/wxapi/reading/dispatcherRecovery')
- export const ConfirmRecovery = fetchFn('/wxapi/reading/confirmRecovery')
- export const ScanForBookDetail = fetchFn('/wxapi/reading/scanForBookDetail')
- export const RemoveBookLib = fetchFn('/wxapi/reading/removeBookLib')
- export const BackBookLib = fetchFn('/wxapi/reading/backBookLib')
- export const BookDetailView = fetchFn('/wxapi/readingcurator/bookDetailView')
- export const GetBooksTab = fetchFn('/wxapi/readingcurator/bookstab')
- export const GetLibraryTopTen = fetchFn('/wxapi/readingcurator/libraryTopTen')
- export const GetBooksInlibrary = fetchFn('/wxapi/readingcurator/booksinthelibrary')
- export const CallInBooks = fetchFn('/wxapi/readingcurator/callInBooks')
- export const CallOutBooks = fetchFn('/wxapi/readingcurator/callOutBooks')
- export const CallOutList = fetchFn('/wxapi/readingcurator/callOutList')
- export const CallInList = fetchFn('/wxapi/readingcurator/callInList')
- export const DeleteBooks = fetchFn('/wxapi/readingcurator/deleteBooks')
- export const SaveLocking = fetchFn('/wxapi/readingcurator/saveLocking')
- export const GetThemeAllBook = fetchFn('/wxapi/readingcurator/themeAll')
- export const BatchCallInBooks = fetchFn('/wxapi/readingcurator/batchCallInBooks')
- export const PostApplyBookList = fetchFn('/wxapi/readingcurator/postApplyBookList')
- export const GoodBooksToRead = fetchFn('/wxapi/readingcurator/goodBooksToRead')
- export const RandomBook = fetchFn('/wxapi/readingcurator/randomBook')
- export const GoodBooksSearch = fetchFn('/wxapi/readingcurator/goodBooksSearch')
- export const GoodIndex = fetchFn('/wxapi/reading/parent/goodIndex')
- export const GoodIndexSearch = fetchFn('/wxapi/reading/parent/goodIndexSearch')
- export const IndexSearchHis = fetchFn('/wxapi/reading/parent/indexSearchHis')
- export const ClearSearchHis = fetchFn('/wxapi/reading/parent/clearSearchHis')
- export const BookSort = fetchFn('/wxapi/reading/parent/bookSort')
- export const InitBorrowCar = fetchFn('/wxapi/reading/parent/initBorrowCar')
- export const ScanningBooksTwo = fetchFn('/wxapi/reading/parent/scanningBooks')
- export const IndexBarList = fetchFn('/wxapi/reading/parent/IndexBarList')
- export const PositionJoin = fetchFn('/wxapi/reading/parent/positionJoin')
- export const ConfirmBorrow = fetchFn('/wxapi/reading/parent/confirmBorrow')
- export const BorrowInfoList = fetchFn('/wxapi/reading/parent/borrowInfoList')
- export const ThemeBorrowedList = fetchFn('/wxapi/reading/parent/themeBorrowedList')
- export const UserRankingLib = fetchFn('/wxapi/reading/parent/userRankingLib')
- export const LibRankingHis = fetchFn('/wxapi/reading/parent/libRankingHis')
- export const UserReadInfo = fetchFn('/wxapi/reading/parent/userReadInfo')
- export const ApplyBook = fetchFn('/wxapi/reading/parent/applyBook')
- export const ApplyBookHis = fetchFn('/wxapi/reading/parent/applyBookHis')
- export const SortSearch = fetchFn('/wxapi/reading/parent/sortSearch')
- export const SignList = fetchFn('/wxapi/readingcurator/signList')
- export const SignSubmit = fetchFn('/wxapi/readingcurator/signSubmit')
- export const DayCount = fetchFn('/wxapi/readingcurator/dayCount')
- export const MonthCount = fetchFn('/wxapi/readingcurator/monthCount')
- export const SignMonthList = fetchFn('/wxapi/readingcurator/signMonthList')
- export const DayInfoList = fetchFn('/wxapi/readingcurator/dayInfoList')
- export const AgencyVipList = fetchFn('/wxapi/readingcurator/agencyVipList')
- export const RankingLib = fetchFn('/wxapi/readingcurator/rankingLib')
- export const ReadingBorrowInfoList = fetchFn('/wxapi/readingcurator/borrowInfoList')
- export const LibVipList = fetchFn('/wxapi/readingcurator/libVipList')
- export const ManagerList = fetchFn('/wxapi/readingcurator/managerList')
- export const LibSearch = fetchFn('/wxapi/readingcurator/libSearch')
- export const VipDetailInfo = fetchFn('/wxapi/readingcurator/vipDetailInfo')
- export const EditVipservice = fetchFn('/wxapi/readingcurator/editVipservice')
- export const VipInfo = fetchFn('/wxapi/readingcurator/vipInfo')
- export const ReadingAaveVipInfo = fetchFn('/wxapi/readingcurator/saveVipInfo')
- export const VipSignInfoList = fetchFn('/wxapi/readingcurator/vipSignInfoList')
- export const ManagerEdit = fetchFn('/wxapi/readingcurator/managerEdit')
- export const ManagerSave = fetchFn('/wxapi/readingcurator/managerSave')
- export const ManagerDel = fetchFn('/wxapi/readingcurator/managerDel')
- export const ApplyInfoList = fetchFn('/wxapi/readingcurator/ApplyInfoList')
- export const ApplyInfoDetailList = fetchFn('/wxapi/readingcurator/ApplyInfoDetailList')
- export const NewBookApplyInfoList = fetchFn('/wxapi/readingcurator/NewBookApplyInfoList')
- export const NewBookApplyDetailList = fetchFn('/wxapi/readingcurator/NewBookApplyDetailList')
- export const ConfirmBackBorrow = fetchFn('/wxapi/readingcurator/confirmBackBorrow')
- export const CheckRole = fetchFn('/wxapi/readingcurator/checkRole')
- export const ScanningBackBooks = fetchFn('/wxapi/readingcurator/scanningBackBooks')
- export const BookInLibInfo = fetchFn('/wxapi/readingcurator/bookInLibInfo')
- export const CheckBookCard = fetchFn('/wxapi/readingcurator/checkBookCard')
- export const GetBookInfoByIsbn = fetchFn('/wxapi/readingcurator/getBookInfoByIsbn')
- export const AddBook = fetchFn('/wxapi/readingcurator/addBook')
- export const BookCase = fetchFn('/wxapi/readingcurator/bookCase')
- export const SaveBookcase = fetchFn('/wxapi/readingcurator/saveBookcase')
- export const ReadinglibRankingHis = fetchFn('/wxapi/readingcurator/libRankingHis')
- export const CallBookBack = fetchFn('/wxapi/readingcurator/callBookBack')
- export const LibManagerSearch = fetchFn('/wxapi/readingcurator/libManagerSearch')
- export const SearchUserApplyList = fetchFn('/wxapi/readingcurator/userApplyList')
- export const CheckNext = fetchFn('/wxapi/readingcurator/checkNext')
- export const AboutSharingSchool = fetchFn('/api/problem/aboutSharingSchool')
|