1234567891011121314151617181920212223242526272829303132 |
- import {
- request
- } from '@/service/ajax'
- // 商品模块路由
- const goodsUrl = '/admin/'
- // 猜你喜欢
- export const getMemberInfo = (data) => request(goodsUrl + 'myself', 'get', {})
- export const getMyMoments = (data) => request(goodsUrl + 'myself/myMoments', 'post', data)
- export const getMyLikeMoments = (data) => request(goodsUrl + 'myself/moments', 'post', data)
- //获取充值金额
- export const getRechargePage = (data) => request(goodsUrl + 'myself/getRechargePage', 'get', data)
- //获取我的道具
- export const getPayChannel = (data) => request(goodsUrl + 'myself/payChannel', 'get', data)
- //J币流水
- export const getCashFlowHistoryPage = (data) => request(goodsUrl + 'myself/getCashFlowHistoryPage', 'post', data)
- //每日收益
- export const getDailyEarnings = (data) => request(goodsUrl + 'myself/getDailyEarnings', 'post', data)
- //黑名单列表
- export const getBlackList = (data) => request(goodsUrl + 'myself/blacklist', 'post', data)
- //撤销拉黑
- export const operateBlackList = (data) => request(goodsUrl + 'myself/blacklist/' + data, 'delete', {})
- export const delBlackItem = (data) => request(goodsUrl + 'myself/blacklist/' + data, 'delete', {})
- //兑换码
- export const exchangeCode = (data) => request(goodsUrl + 'myself/exchangeCode', 'post', data)
- // 喜欢我的人的列表
- export const likeMeList = (data) => request(goodsUrl + 'utility/likeMe', 'post', data)
- // 获取当前客户VIP信息
- export const getUserVip = (data) => request(goodsUrl + 'myself/getUserVip', 'get', data)
- // 购买VIP
- export const buyVip = (data) => request(goodsUrl + 'myself/buyVip', 'post', data)
|