更换接口地址

This commit is contained in:
lyswhut
2019-09-16 14:08:29 +08:00
parent 65fe679ee2
commit 37eec4c971
5 changed files with 11 additions and 11 deletions
+3 -3
View File
@@ -4,7 +4,7 @@ import { headers, timeout } from '../options'
const api_test = {
getMusicUrl(songInfo, type) {
const requestObj = httpFatch(`http://test.tempmusic.tk/url/bd/${songInfo.songmid}/${type}`, {
const requestObj = httpFatch(`http://ts.tempmusic.tk/url/bd/${songInfo.songmid}/${type}`, {
method: 'get',
timeout,
headers,
@@ -15,7 +15,7 @@ const api_test = {
return requestObj
},
getPic(songInfo, size = '500') {
const requestObj = httpFatch(`http://test.tempmusic.tk/pic/bd/${songInfo.songmid}/${size}`, {
const requestObj = httpFatch(`http://ts.tempmusic.tk/pic/bd/${songInfo.songmid}/${size}`, {
method: 'get',
timeout,
headers,
@@ -26,7 +26,7 @@ const api_test = {
return requestObj
},
getLyric(songInfo) {
const requestObj = httpFatch(`http://test.tempmusic.tk/lrc/bd/${songInfo.songmid}`, {
const requestObj = httpFatch(`http://ts.tempmusic.tk/lrc/bd/${songInfo.songmid}`, {
method: 'get',
timeout,
headers,