mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-25 17:11:24 +08:00
- search_suggest_mobile: 搜索联想词 App 移动端版(/api/search/suggest/keyword/get) * 参数名为 keyword(s/keywords 会返回 HTTP 400 空体) * 返回直 hit 歌曲卡(entity_card + simpleSongData)与热搜/原唱标签联想词 - search_song_list_page: 新版单曲搜索分页(keyword/limit/offset/scene) - search_lyric: 按歌词搜索(返回 lyric 匹配行与 highlightText) - event_search: 动态搜索(/api/event/search/list/get/v1) - comment_default_text: 评论输入框默认文案(threadId) - comment_hotwall_square_info: 热评墙广场信息 - banner_v3: 首页轮播 v3(clientType) - 文档: public/docs/home.md 同步 7 个接口的说明/参数/调用例子 全部接口使用 v9.6.13 APK 逆向路径, 经官方 weapi 实测 code=200
16 lines
345 B
JavaScript
16 lines
345 B
JavaScript
// 动态搜索
|
|
|
|
const createOption = require('../util/option.js')
|
|
module.exports = (query, request) => {
|
|
const data = {
|
|
keyword: query.keyword || query.keywords || '',
|
|
limit: query.limit || 30,
|
|
offset: query.offset || 0,
|
|
}
|
|
return request(
|
|
`/api/event/search/list/get/v1`,
|
|
data,
|
|
createOption(query, 'weapi'),
|
|
)
|
|
}
|