const http = uni.$u.http // get请求,获取订单列表 export const getOrderList = (params, config = {}) => http.get('/business/wechat/order/list', params, config) // get请求,获取订单详情 export const getOrderDetailByOrderId = (params, config = {}) => http.get('/business/wechat/order/detail', params, config) // get请求,保存订单评价 export const saveOrderComment = (params, config = {}) => http.post('/business/wechat/order/comment', params, config) // post请求,再来一单 export const comeOrder = (params, config = {}) => http.post('/business/wechat/order/copy/'+params.data.orderId, params, config) // post请求 删除订单 export const deleteOrder = (params, config = {}) => http.delete('/business/wechat/order/'+params.data.orderId, params, config) // put请求 取消订单 export const cancelOrder = (params, config = {}) => http.put('/business/wechat/order/cancel/'+params.data.orderId, params, config) // post请求,通用下单接口 export const commonGeneralOrder = (params, config = {}) => http.post('/business/wechat/order/common', params, config) // post请求,查询充值订单列表 export const orderRechargeList = (params, config = {}) => http.get('/business/wechat/orderRecharge/list', params, config) // post请求,充值订单退款 export const orderRechargeRefund = (params, config = {}) => http.post('/business/wechat/orderRecharge/refund', params, config) // post请求,获取用户余额 export const getUserBalance = (params, config = {}) => http.post('/business/wechat/orderRecharge/getBalance', params, config) // get请求,订单签到 export const orderSign = (params, config = {}) => http.get('/business/wechat/scheduling/orderSign', params, config) // get请求,查看订单排号情况 export const getOrderSign = (params, config = {}) => http.get('/business/wechat/scheduling/getOrderSign', params, config) // post请求,微信支付(根据订单ID) export const wechatPay = (params, config,requestConfig = {}) => http.post('/business/wxPay/jsapiPay', params, config,requestConfig) // post请求,余额支付(根据订单ID) export const balancePay = (params, config = {}) => http.post('/business/balancePay/pay', params, config) // get请求,查询交易记录列表 export const transactionRecordsList = (params, config = {}) => http.get('/business/wechat/transactionFlow/list', params, config) // get请求,查询充值优惠列表 export const getRechargeList = (params, config = {}) => http.get('/business/wechat/getRechargeList', params, config) // get请求,查询交易流水统计 export const transactionFlowstatistic = (params, config = {}) => http.get('/business/wechat/transactionFlow/statistic', params, config) // get请求 获取预约价格 export const getAppointmentPrice = (params, config = {}) => http.get('/business/wechat/sp/subPrice', params, config)