You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.2 KiB
JavaScript

5 months ago
import http from './interface'
// 1.1 礼包详情
export const getList = (data) => {
return http.request({
url: '/mall/gift/active/series/info',
method: 'POST',
data
})
}
// 藏品列表
export const getCollectionList = (data) => {
return http.request({
url: '/mall/gift/active/collections/list',
method: 'POST',
data
})
}
// 领取
export const receive = (data) => {
return http.request({
url: '/mall/gift/active/draw',
method: 'POST',
data
})
}
// 详情
export const collectionsInfo = (data) => {
return http.request({
url: '/mall/gift/active/collections/detail',
method: 'POST',
data
})
}
// 我的藏品列表
export const getMyCollectionList = (data) => {
return http.request({
url: '/mall/gift/active/my/collections/list',
method: 'POST',
data
})
}
// 获取系列的助记词
export const getSeriesMnemonic = (data) => {
return http.request({
url: '/mall/gift/active/scan/by/pwd',
method: 'POST',
data
})
}
export default {
getList,
getCollectionList,
receive,
collectionsInfo,
getMyCollectionList,
getSeriesMnemonic
}