更换migu搜索接口

This commit is contained in:
lyswhut
2020-01-13 13:20:04 +08:00
parent 914e738931
commit ae9b4bc2f5
2 changed files with 55 additions and 86 deletions
+1 -1
View File
@@ -126,8 +126,8 @@ export default {
if (limit != null) this.limit = limit
// http://newlyric.kuwo.cn/newlyric.lrc?62355680
return this.musicSearch(str, page).then(result => {
// console.log(result)
if (!result || (result.TOTAL !== '0' && result.SHOW === '0')) return this.search(str, page, { limit }, ++retryNum)
console.log(result)
let list = this.handleResult(result.abslist)
if (list == null) return this.search(str, page, { limit })