import request from "@/utils/request"; import {host} from "@/config/host"; /** * 权益卡订单 * @param card_id * @returns {Promise | Promise} */ export function cardOrder(card_id) { return request({ url:`${host}/order/create-cardorder`, method: 'post', data:{ card_id } }) } /** * 订单列表 * @param data * @returns {Promise} */ export function getOrderList(data = { "page": 1, "limit": 10, "is_worker": 0, "status": 0, "start_time": "", "end_time": "" }){ return request({ url:"pet/order-list", method: 'post', data:data }) }