41 lines
716 B
TypeScript
41 lines
716 B
TypeScript
import request from "@/sheep/utils/request"
|
|
|
|
export default {
|
|
page: (params: any) =>
|
|
request({
|
|
url: "canteen/boxesInfo/appPage",
|
|
method: "GET",
|
|
params,
|
|
}),
|
|
detail: (params: any) =>
|
|
request({
|
|
url: "canteen/boxesInfo/getInfo",
|
|
method: "GET",
|
|
params,
|
|
}),
|
|
apply: (data: any) =>
|
|
request({
|
|
url: "canteen/boxesBooking/create",
|
|
method: "POST",
|
|
data,
|
|
}),
|
|
cancel: (data: any) =>
|
|
request({
|
|
url: "canteen/boxesInfo/cancel",
|
|
method: "GET",
|
|
data,
|
|
}),
|
|
get: (data: any) =>
|
|
request({
|
|
url: "canteen/boxesInfo/get",
|
|
method: "GET",
|
|
data,
|
|
}),
|
|
MyBookingPage: (data: any) =>
|
|
request({
|
|
url: "canteen/boxesInfo/getMyBookingPage",
|
|
method: "GET",
|
|
data,
|
|
}),
|
|
}
|