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

🐞fix(user_record): fix type always be 1 #849

Merged
merged 1 commit into from
Jul 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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