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

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Binaryify authored Jul 13, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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
@@ -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,

0 comments on commit a0abeed

Please sign in to comment.