68 lines
1.2 KiB
JavaScript
68 lines
1.2 KiB
JavaScript
import http from './interface'
|
|
|
|
// 个人空投列表
|
|
export const collectionList = (data) => {
|
|
return http.request({
|
|
url: '/mall/push/msgList',
|
|
method: 'POST',
|
|
data
|
|
})
|
|
}
|
|
// 个人领取空投
|
|
export const getCollection = (data) => {
|
|
return http.request({
|
|
url: '/mall/push/getCollection',
|
|
method: 'POST',
|
|
data
|
|
})
|
|
}
|
|
// 个人具体空投展示
|
|
export const collectionSepcific = (data) => {
|
|
return http.request({
|
|
url: '/mall/push/collectionSepcific',
|
|
method: 'POST',
|
|
data
|
|
})
|
|
}
|
|
// 个人领取空投2
|
|
export const getCollectionStepTwo = (data) => {
|
|
return http.request({
|
|
url: '/mall/payment/give',
|
|
method: 'POST',
|
|
data
|
|
})
|
|
}
|
|
// 个人未点击空投和公告数量
|
|
export const checkPoint = (data) => {
|
|
return http.request({
|
|
url: '/mall/push/unreadNum',
|
|
method: 'POST',
|
|
data
|
|
})
|
|
}
|
|
// 个人阅读公告
|
|
export const readMsg = (data) => {
|
|
return http.request({
|
|
url: '/mall/push/announcementSepcific',
|
|
method: 'POST',
|
|
data
|
|
})
|
|
}
|
|
// 直接领取
|
|
export const directGet = (data) => {
|
|
return http.request({
|
|
url: '/mall/collections/redirect/receive',
|
|
method: 'POST',
|
|
data
|
|
})
|
|
}
|
|
export default {
|
|
collectionList,
|
|
getCollection,
|
|
collectionSepcific,
|
|
getCollectionStepTwo,
|
|
readMsg,
|
|
checkPoint,
|
|
directGet
|
|
}
|