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
997 B
46 lines
997 B
|
|
import request from '../utils/request';
|
|
|
|
export function FetchInitLibraryReservationSettings(data) {
|
|
return request({
|
|
url: '/api/weixin/initLibraryReservationSettings',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 预约入馆
|
|
export function FetchReserve(data) {
|
|
return request({
|
|
url: '/api/weixin/reserve',
|
|
method: 'POST',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 我的预约-预约登记界面初始化
|
|
// ?libcode=&openId=
|
|
export function FetchInitMyReservation(data) {
|
|
return request({
|
|
url: '/api/weixin/myReservationInit',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 我的预约
|
|
// ?libcode=&openId=&page=&size=
|
|
// libcode可选填(我不知道小程序是一家图书馆还是多加图书馆的 所以可为空)
|
|
export function FetchMyReservation(data) {
|
|
return request({
|
|
url: '/api/weixin/myReservation',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 取消预约
|
|
export function FetchCancelReservation(data) {
|
|
return request({
|
|
url: '/api/weixin/cancelReservation',
|
|
method: 'POST',
|
|
data
|
|
})
|
|
}
|