Newer
Older
smartKitchenFront / src / api / order / order.js
liuyangyingjie on 31 Oct 2022 460 bytes feat(修改问题,添加注释): 整体提交
import { instance } from '../request/http'

const listPage = (Str, data) => {
  return instance.post(`/busOrderInfo/listPage?${Str}`, data)
}

const add = (data) => {
  return instance.post('/busOrderInfo/add', data)
}

const order_area = (Str, data) => {
  return instance.get(`/ext/area/list?${Str}`, data)
}

// 详情
const OrderDetail = (data) => {
  return instance.post('/busOrderInfo/detail', data)
}

export { listPage, add, order_area, OrderDetail }