refactor:修改wiki相关接口

This commit is contained in:
overwriter
2023-09-24 22:42:09 +08:00
parent 336dc2a65a
commit 224f6e2cf8
6 changed files with 11 additions and 11 deletions
+21
View File
@@ -0,0 +1,21 @@
// 搜索歌手
// 可传关键字或者歌手id
const crypto = require('crypto')
module.exports = (query, request) => {
const data = {
keyword: query.keyword,
limit: query.limit || 40,
}
return request(
'POST',
`https://music.163.com/api/rep/ugc/artist/search`,
data,
{
crypto: 'eapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
url: '/api/rep/ugc/artist/search',
},
)
}