Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #849 from YXL76/master
Browse files Browse the repository at this point in the history
🐞fix(user_record): fix type always be 1
  • Loading branch information
Binaryify authored Jul 13, 2020
2 parents eda6869 + 59368bd commit a0abeed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/user_record.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a0abeed

Please sign in to comment.