|
@@ -1,8 +1,10 @@
|
|
|
-import { request } from '@/service/ajax'
|
|
|
+import {
|
|
|
+ request
|
|
|
+} from '@/service/ajax'
|
|
|
// 商品模块路由
|
|
|
const goodsUrl = '/admin/'
|
|
|
// 猜你喜欢
|
|
|
-export const getMemberInfo = (data) => request(goodsUrl + 'myself', 'get', { })
|
|
|
+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)
|
|
|
//获取充值金额
|
|
@@ -15,15 +17,16 @@ export const getCashFlowHistoryPage = (data) => request(goodsUrl + 'myself/getCa
|
|
|
export const getDailyEarnings = (data) => request(goodsUrl + 'myself/getDailyEarnings', 'post', data)
|
|
|
//黑名单列表
|
|
|
export const getBlackList = (data) => request(goodsUrl + 'myself/blacklist', 'post', data)
|
|
|
-export const delBlackItem = (data) => request(goodsUrl + 'myself/blacklist/'+data, 'delete', {})
|
|
|
+//撤销拉黑
|
|
|
+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)
|
|
|
+export const buyVip = (data) => request(goodsUrl + 'myself/buyVip', 'post', data)
|
|
|
+
|