UNPKG
@xnfa/netease-music-api
Version:
latest (1.0.0)
1.0.0
网易云音乐 NodeJS 版 API
@xnfa/netease-music-api
/
module
/
user_cloud.js
11 lines
(9 loc)
•
264 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
// 云盘数据
const
createOption =
require
(
'../util/option.js'
)
module
.
exports
=
(
query, request
) =>
{
const
data = {
limit
: query.
limit
||
30
,
offset
: query.
offset
||
0
, }
return
request
(
`/api/v1/cloud/get`
, data,
createOption
(query,
'weapi'
)) }