提交 535b5c51 编写于 作者: 番红炒西茄柿's avatar 番红炒西茄柿

interest page update

上级 b04e7a57
......@@ -9,4 +9,7 @@ export function getHardcoreFanInfo () { // 获取铁粉信息
}
export function getFanDistribution (name) { // 获取粉丝分布
return http.get(`${urlData}/v1/get-fan-distribution?username=${name}`)
}
export function getInterestInfo () { // 获取原力信息
return http.get(`${urlData}/v1/get-interest-info`)
}
\ No newline at end of file
......@@ -12,7 +12,7 @@
<script>
import ForceMap from './mapInterest.vue'
import RankList from "./interestRankList.vue";
import { getForceInfo } from '@/server/screen-data'
import { getInterestInfo } from '@/server/screen-data'
export default {
data() {
return {
......@@ -39,7 +39,7 @@ export default {
this.city = '全国'
},
getlist() {
getForceInfo().then((res) => {
getInterestInfo().then((res) => {
if (res.status == 200) {
this.optionList = res.data.data.cityInfoList
this.rankData = res.data.data.countryTop
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册