1234567891011121314151617 |
- 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),
- // 获取轮播图列表
- getBannerList: data => request(`/v3/banner/${data}`, 'get', data),
- }
|