mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-02 18:42:09 +08:00
云贝推歌参数缺失修复
This commit is contained in:
parent
b1a9c93ebb
commit
7faff01f5b
@ -3511,6 +3511,8 @@ type='1009' 获取其 id, 如`/search?keywords= 代码时间 &type=1009`
|
||||
|
||||
**可选参数 :** `reason` : 推歌理由
|
||||
|
||||
`yunbeiNum`: 云贝数量,默认10
|
||||
|
||||
**接口地址 :** `/yunbei/rcmd/song`
|
||||
|
||||
**调用例子 :** `/yunbei/rcmd/song?id=65528` `/yunbei/rcmd/song?id=65528&reason=人间好声音推荐给你听`
|
||||
|
@ -1,6 +1,4 @@
|
||||
// 邮箱登录
|
||||
|
||||
const crypto = require('crypto')
|
||||
// 游客登录
|
||||
|
||||
module.exports = async (query, request) => {
|
||||
query.cookie.os = 'iOS'
|
||||
|
@ -6,6 +6,7 @@ module.exports = (query, request) => {
|
||||
reason: query.reason || '好歌献给你',
|
||||
scene: '',
|
||||
fromUserId: -1,
|
||||
yunbeiNum: query.yunbeiNum || 10,
|
||||
}
|
||||
return request(
|
||||
'POST',
|
||||
|
Loading…
x
Reference in New Issue
Block a user