Merge pull request #849 from YXL76/master

🐞fix(user_record): fix type always be 1
This commit is contained in:
binaryify 2020-07-13 20:50:55 +08:00 committed by GitHub
commit a0abeed224
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,