feat: 新增根据nickname获取userid 接口

This commit is contained in:
binaryify
2023-09-11 11:21:57 +08:00
parent c3dbccf52a
commit 00d3594814
6 changed files with 39 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
module.exports = (query, request) => {
const data = {
nicknames: query.nicknames,
}
return request('POST', `https://music.163.com/api/user/getUserIds`, data, {
crypto: 'weapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
})
}