remember-word/http/usa.js

59 lines
1.2 KiB
JavaScript
Raw Permalink Normal View History

2024-05-03 04:32:59 +00:00
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
}