import { request } from "../utils/request"; module.exports = { //获取充值配置信息 getProducts: data => request('/v3/product', 'get', data), // 购买vip buyVip: data => request('/order', 'post', data, true), // 购买次数 buyNum: data => request('/v3/pay', 'post', data), // 获取任务配置 getTasks: data => request('/v3/task', 'get', data), // 提交任务 submitTask: data => request('/v3/task', 'post', data), }