|
@@ -1,8 +1,10 @@
|
|
-import { request } from '@/service/ajax'
|
|
|
|
|
|
+import {
|
|
|
|
+ request
|
|
|
|
+} from '@/service/ajax'
|
|
// 商品模块路由
|
|
// 商品模块路由
|
|
const goodsUrl = '/admin/'
|
|
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 getMyMoments = (data) => request(goodsUrl + 'myself/myMoments', 'post', data)
|
|
export const getMyLikeMoments = (data) => request(goodsUrl + 'myself/moments', 'post', data)
|
|
export const getMyLikeMoments = (data) => request(goodsUrl + 'myself/moments', 'post', data)
|
|
//获取充值金额
|
|
//获取充值金额
|
|
@@ -15,7 +17,9 @@ export const getCashFlowHistoryPage = (data) => request(goodsUrl + 'myself/getCa
|
|
export const getDailyEarnings = (data) => request(goodsUrl + 'myself/getDailyEarnings', 'post', data)
|
|
export const getDailyEarnings = (data) => request(goodsUrl + 'myself/getDailyEarnings', 'post', data)
|
|
//黑名单列表
|
|
//黑名单列表
|
|
export const getBlackList = (data) => request(goodsUrl + 'myself/blacklist', 'post', data)
|
|
export const getBlackList = (data) => request(goodsUrl + 'myself/blacklist', 'post', data)
|
|
-export const delBlackItem = (data) => request(goodsUrl + 'myself/blacklist/'+data, 'delete', {})
|
|
|
|
-//兑换码
|
|
|
|
-export const exchangeCode = (data) => request(goodsUrl + 'myself/exchangeCode', '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)
|