feat: 增加下载、购买记录接口

This commit is contained in:
overwriter
2024-07-22 07:53:46 +08:00
parent a0d4a3c27a
commit 422722e0a7
8 changed files with 107 additions and 9 deletions
+16
View File
@@ -0,0 +1,16 @@
// 已购买单曲
const createOption = require('../util/option.js')
module.exports = (query, request) => {
const data = {
limit: query.limit || '20',
offset: query.offset || '0',
total: 'true',
}
return request(
'POST',
`/api/member/song/singledownlist`,
data,
createOption(query),
)
}