领取水晶增加队列处理,增加批量领取

This commit is contained in:
唐明明
2021-11-17 15:32:21 +08:00
parent 0f9b01274f
commit a5688f6ff8
4 changed files with 298 additions and 147 deletions

View File

@@ -28,11 +28,29 @@ const thawlog = (data) => {
url: 'user/account/thawlog',
method: 'POST',
data
}, true)
}
// 获取新的一批水晶
const crystalsBefore = (data) => {
return request({
url: 'user/account/crystals/before',
})
}
// 批量领取水晶
const allThawall = (data) => {
return request({
url: 'user/account/thawall',
method: 'POST',
data
})
}
export {
chain,
crystals,
thawlog
thawlog,
crystalsBefore,
allThawall
}