import request from "@/utils/request"; // openId export function openId(data) { return request({ url: `/wxPay/wapAuth?code=${data}`, method: "post" }); } // 下单 export function wechatPay(data) { return request({ url: `/wxPay/orderCreate`, method: 'post', data }) } // 流量信息 export function detail(data) { return request({ url: `/order/4G/cmpForward`, method: 'get', data }) } // 流量套餐 export function options(data){ return request({ url: `/order/4G/dataPlanList`, method: 'get', data }) } // 充值记录 export function list(data) { return request({ url: `/order/4G/orderGet`, mthod: 'get', data }) }