const http = uni.$u.http

// 商品订单列表接口
export const getOrderList = (params) => http.get('/sale/manage/order/query-order-list', { params })

// 查看商品订单列表接口
export const getFindOrderList = (params) => http.get('/sale/manage/order/get-order-list', { params })

//订单类型枚举
export const getOrderType = (params) => http.get('/system/pub/enums/order-type', { params })

//发货方式
export const getDeliveryList = (params) => http.get('/system/pub/enums/delivery-list', { params })

//支付方式
export const getOrderPayType = (params) => http.get('/system/pub/enums/order-pay-type', { params })

//订单添加开票备注
export const updateOrderRemarks = (params) => http.post('/sale/manage/order/update-order-remarks', params)

//发货类型
export const getShippingChannelList = (params) => http.get('/system/pub/enums/get-shipping-channel', { params })
