fix: migu search (#1761)
parent
b127a1e98c
commit
160693f608
|
@ -112,7 +112,7 @@ export default {
|
||||||
musicSearch(str, page, limit) {
|
musicSearch(str, page, limit) {
|
||||||
const time = Date.now().toString()
|
const time = Date.now().toString()
|
||||||
const signData = createSignature(time, str)
|
const signData = createSignature(time, str)
|
||||||
const searchRequest = httpFetch(`https://jadeite.migu.cn/music_search/v3/search/searchAll?isCorrect=1&isCopyright=1&searchSwitch=%7B%22song%22%3A1%2C%22album%22%3A0%2C%22singer%22%3A0%2C%22tagSong%22%3A1%2C%22mvSong%22%3A0%2C%22bestShow%22%3A1%2C%22songlist%22%3A0%2C%22lyricSong%22%3A0%7D&pageSize=${limit}&text=${encodeURIComponent(str)}&pageNo=${page}&sort=0`, {
|
const searchRequest = httpFetch(`https://jadeite.migu.cn/music_search/v3/search/searchAll?isCorrect=0&isCopyright=1&searchSwitch=%7B%22song%22%3A1%2C%22album%22%3A0%2C%22singer%22%3A0%2C%22tagSong%22%3A1%2C%22mvSong%22%3A0%2C%22bestShow%22%3A1%2C%22songlist%22%3A0%2C%22lyricSong%22%3A0%7D&pageSize=${limit}&text=${encodeURIComponent(str)}&pageNo=${page}&sort=0&sid=USS`, {
|
||||||
headers: {
|
headers: {
|
||||||
uiVersion: 'A_music_3.6.1',
|
uiVersion: 'A_music_3.6.1',
|
||||||
deviceId: signData.deviceId,
|
deviceId: signData.deviceId,
|
||||||
|
|
Loading…
Reference in New Issue