|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
/*
|
|
|
|
|
* @Author: your name
|
|
|
|
|
* @Date: 2021-10-25 15:38:59
|
|
|
|
|
* @LastEditTime: 2021-10-26 16:27:31
|
|
|
|
|
* @LastEditTime: 2021-10-28 13:15:14
|
|
|
|
|
* @LastEditors: Please set LastEditors
|
|
|
|
|
* @Description: In User Settings Edit
|
|
|
|
|
* @FilePath: /data-show/src/api/BrandInsight/index.js
|
|
|
|
@ -13,8 +13,11 @@ export function getCartypeTop10(params) {
|
|
|
|
|
let obj = Object.assign({action: 'getCartypeTop10', sType: 'BrandOverview', iBBsType: 1}, params)
|
|
|
|
|
return httpService({
|
|
|
|
|
url: `/api/v6.ashx`,
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: obj
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: obj,
|
|
|
|
|
headers: {
|
|
|
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// 品牌数据-数据传播总量
|
|
|
|
@ -22,8 +25,11 @@ export function getBrandOverviewCount0528(params) {
|
|
|
|
|
let obj = Object.assign({action: 'getBrandOverviewCount0528', sType: 'BrandOverview'}, params)
|
|
|
|
|
return httpService({
|
|
|
|
|
url: `/api/v6.ashx`,
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: obj
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: obj,
|
|
|
|
|
headers: {
|
|
|
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// 舆情传播趋势
|
|
|
|
@ -31,8 +37,11 @@ export function getSourcetypeTime(params) {
|
|
|
|
|
let obj = Object.assign({action: 'getSourcetypeTime', sType: 'BrandOverview'}, params)
|
|
|
|
|
return httpService({
|
|
|
|
|
url: `/api/v6.ashx`,
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: obj
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: obj,
|
|
|
|
|
headers: {
|
|
|
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -41,8 +50,11 @@ export function getAffections(params) {
|
|
|
|
|
let obj = Object.assign({action: 'getAffections', sType: 'BrandOverview'}, params)
|
|
|
|
|
return httpService({
|
|
|
|
|
url: `/api/v6.ashx`,
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: obj
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: obj,
|
|
|
|
|
headers: {
|
|
|
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// 热门事件列表
|
|
|
|
@ -50,8 +62,11 @@ export function getHotEventsList0528(params) {
|
|
|
|
|
let obj = Object.assign({action: 'getHotEventsList0528', sType: 'BrandOverview'}, params)
|
|
|
|
|
return httpService({
|
|
|
|
|
url: `/api/v6.ashx`,
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: obj
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: obj,
|
|
|
|
|
headers: {
|
|
|
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -60,8 +75,11 @@ export function getHotEventsType(params) {
|
|
|
|
|
let obj = Object.assign({action: 'getHotEventsType', sType: 'HotEvent'}, params)
|
|
|
|
|
return httpService({
|
|
|
|
|
url: `/api/v6.ashx`,
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: obj
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: obj,
|
|
|
|
|
headers: {
|
|
|
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// 微博KOL
|
|
|
|
@ -69,8 +87,11 @@ export function getBoauthenCount0528(params) {
|
|
|
|
|
let obj = Object.assign({action: 'getBoauthenCount0528', sType: 'BrandWeiBo'}, params)
|
|
|
|
|
return httpService({
|
|
|
|
|
url: `/api/v6.ashx`,
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: obj
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: obj,
|
|
|
|
|
headers: {
|
|
|
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// 微博洞察-微博人物画像
|
|
|
|
@ -78,8 +99,11 @@ export function getSexMergeWeiBo(params) {
|
|
|
|
|
let obj = Object.assign({action: 'getSexMergeWeiBo', sType: 'BrandWeiBo'}, params)
|
|
|
|
|
return httpService({
|
|
|
|
|
url: `/api/v6.ashx`,
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: obj
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: obj,
|
|
|
|
|
headers: {
|
|
|
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -88,8 +112,11 @@ export function getCountTime0528(params) {
|
|
|
|
|
let obj = Object.assign({action: 'getCountTime0528', sType: 'BrandWeiBo'}, params)
|
|
|
|
|
return httpService({
|
|
|
|
|
url: `/api/v6.ashx`,
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: obj
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: obj,
|
|
|
|
|
headers: {
|
|
|
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -98,8 +125,11 @@ export function getBbsCountTime(params) {
|
|
|
|
|
let obj = Object.assign({action: 'getBbsCountTime', sType: 'BbsBrand'}, params)
|
|
|
|
|
return httpService({
|
|
|
|
|
url: `/api/v6.ashx`,
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: obj
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: obj,
|
|
|
|
|
headers: {
|
|
|
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -108,8 +138,11 @@ export function getHotTopic0528(params) {
|
|
|
|
|
let obj = Object.assign({action: 'getHotTopic0528', sType: 'BbsBrand', iBBsType: 1}, params)
|
|
|
|
|
return httpService({
|
|
|
|
|
url: `/api/v6.ashx`,
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: obj
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: obj,
|
|
|
|
|
headers: {
|
|
|
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -118,8 +151,11 @@ export function agetCartypeTop10(params) {
|
|
|
|
|
let obj = Object.assign({action: 'getCartypeTop10', sType: 'BbsBrand', iBBsType: 1}, params)
|
|
|
|
|
return httpService({
|
|
|
|
|
url: `/api/v6.ashx`,
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: obj
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: obj,
|
|
|
|
|
headers: {
|
|
|
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -128,8 +164,11 @@ export function getHotWord(params) {
|
|
|
|
|
let obj = Object.assign({action: 'getHotWord', sType: 'BrandWeiYi'}, params)
|
|
|
|
|
return httpService({
|
|
|
|
|
url: `/api/v6.ashx`,
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: obj
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: obj,
|
|
|
|
|
headers: {
|
|
|
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -138,8 +177,11 @@ export function getWeiYiVolumeTime(params) {
|
|
|
|
|
let obj = Object.assign({action: 'getWeiYiVolumeTime', sType: 'BrandWeiYi'}, params)
|
|
|
|
|
return httpService({
|
|
|
|
|
url: `/api/v6.ashx`,
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: obj
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: obj,
|
|
|
|
|
headers: {
|
|
|
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -148,7 +190,10 @@ export function getWebsite(params) {
|
|
|
|
|
let obj = Object.assign({action: 'getWebsite', sType: 'BrandWeiYi'}, params)
|
|
|
|
|
return httpService({
|
|
|
|
|
url: `/api/v6.ashx`,
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: obj
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: obj,
|
|
|
|
|
headers: {
|
|
|
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|