screen-data.js 592 字节
Newer Older
!阳仔's avatar
!阳仔 已提交
1 2 3 4 5 6 7 8 9 10 11
import Vue from 'vue'
import http from './httpinterceptor'
const urlData = 'https://map-api.csdn.net/'
export function getForceInfo () { // 获取原力信息
    return http.get(`${urlData}/v1/get-force-info`)
}
export function getHardcoreFanInfo () { // 获取铁粉信息
    return http.get(`${urlData}/v1/get-hardcore-fan-info`)
}
export function getFanDistribution (name) { // 获取粉丝分布
  return http.get(`${urlData}/v1/get-fan-distribution?username=${name}`)
番红炒西茄柿's avatar
番红炒西茄柿 已提交
12 13 14
}
export function getInterestInfo () { // 获取原力信息
    return http.get(`${urlData}/v1/get-interest-info`)
!阳仔's avatar
!阳仔 已提交
15
}