提交 59368bd6 编写于 作者: YXL76's avatar YXL76

🐞fix(user_record): fix type always be 1

上级 eda68698
......@@ -3,7 +3,7 @@
module.exports = (query, request) => {
const data = {
uid: query.uid,
type: query.type || 1 // 1: 最近一周, 0: 所有时间
type: query.type || 0 // 1: 最近一周, 0: 所有时间
}
return request(
'POST', `https://music.163.com/weapi/v1/play/record`, data,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册