commit
9b90a2d325
@ -1,10 +1,15 @@
|
|||||||
import { filterMusicInfoItem } from './util'
|
import { filterMusicInfoItem } from './util'
|
||||||
import { httpFetch } from '../../request'
|
import { httpFetch } from '../../request'
|
||||||
|
|
||||||
export const getMusicInfo = (id) => {
|
export const getMusicInfo = id => {
|
||||||
return httpFetch('https://u.y.qq.com/cgi-bin/musicu.fcg', {
|
return httpFetch('https://u.y.qq.com/cgi-bin/musicu.fcg', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
body: {
|
body: {
|
||||||
|
comm: {
|
||||||
|
ct: '19',
|
||||||
|
cv: '1859',
|
||||||
|
uin: '0',
|
||||||
|
},
|
||||||
req: {
|
req: {
|
||||||
module: 'music.pf_song_detail_svr',
|
module: 'music.pf_song_detail_svr',
|
||||||
method: 'get_song_detail_yqq',
|
method: 'get_song_detail_yqq',
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
import { httpFetch } from '../../request'
|
|
||||||
import { formatPlayTime, sizeFormate } from '../../index'
|
import { formatPlayTime, sizeFormate } from '../../index'
|
||||||
import { formatSingerName } from '../utils'
|
import { formatSingerName } from '../utils'
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user