You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
196 lines
5.5 KiB
196 lines
5.5 KiB
/*
|
|
* @Author: your name
|
|
* @Date: 2021-11-15 11:45:31
|
|
* @LastEditTime: 2021-11-15 19:22:04
|
|
* @LastEditors: Please set LastEditors
|
|
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
* @FilePath: /data-show/src/api/EventComparison/index.js
|
|
*/
|
|
import httpService from "@/request"
|
|
|
|
// 获取事件类型
|
|
export function getEventList(params) {
|
|
let obj = Object.assign({action: 'getEventList', sType: 'HotLibraryC'}, params)
|
|
return httpService({
|
|
url: `/api/v6.ashx`,
|
|
method: 'post',
|
|
data: obj,
|
|
headers: {
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
}
|
|
})
|
|
}
|
|
// 事件-事件传播渠道对比
|
|
export function getSourcetypeC(params) {
|
|
let obj = Object.assign({action: 'getSourcetypeC', sType: 'EventContrast', iContrastType: 3 }, params)
|
|
return httpService({
|
|
url: `/api/v6.ashx`,
|
|
method: 'post',
|
|
data: obj,
|
|
headers: {
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
}
|
|
})
|
|
}
|
|
// 事件-调性对比
|
|
export function getAffectionsC(params) {
|
|
let obj = Object.assign({action: 'getAffectionsC', sType: 'EventContrast', iContrastType: 3 }, params)
|
|
return httpService({
|
|
url: `/api/v6.ashx`,
|
|
method: 'post',
|
|
data: obj,
|
|
headers: {
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 事件-关联作者概况
|
|
export function getUserOverview0528C(params) {
|
|
let obj = Object.assign({action: 'getUserOverview0528C', sType: 'EventContrast', iContrastType: 3 }, params)
|
|
return httpService({
|
|
url: `/api/v6.ashx`,
|
|
method: 'post',
|
|
data: obj,
|
|
headers: {
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 事件-事件传播top媒体对比
|
|
export function getSourceTopCount0528C(params) {
|
|
let obj = Object.assign({action: 'getSourceTopCount0528C', sType: 'EventContrast', iContrastType: 3 }, params)
|
|
return httpService({
|
|
url: `/api/v6.ashx`,
|
|
method: 'post',
|
|
data: obj,
|
|
headers: {
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 事件-事件传播历程对比
|
|
export function getListC(params) {
|
|
let obj = Object.assign({action: 'getListC', sType: 'EventContrast', iContrastType: 3 }, params)
|
|
return httpService({
|
|
url: `/api/v6.ashx`,
|
|
method: 'post',
|
|
data: obj,
|
|
headers: {
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 事件-正面词云
|
|
export function getPositiveC(params) {
|
|
let obj = Object.assign({action: 'getPositiveC', sType: 'EventContrast',iContrastType: 3 }, params)
|
|
return httpService({
|
|
url: `/api/v6.ashx`,
|
|
method: 'post',
|
|
data: obj,
|
|
headers: {
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 事件-负面词云
|
|
export function getNegativeC(params) {
|
|
let obj = Object.assign({action: 'getNegativeC', sType: 'EventContrast',iContrastType: 3 }, params)
|
|
return httpService({
|
|
url: `/api/v6.ashx`,
|
|
method: 'post',
|
|
data: obj,
|
|
headers: {
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 事件-微博信息量对比
|
|
export function getContrastCount0528C(params) {
|
|
let obj = Object.assign({action: 'getContrastCount0528C', sType: 'BrandWeiBo', iContrastType: 3 }, params)
|
|
return httpService({
|
|
url: `/api/v6.ashx`,
|
|
method: 'post',
|
|
data: obj,
|
|
headers: {
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 事件-微博互动人数对比
|
|
export function getInteractCount0528C(params) {
|
|
let obj = Object.assign({action: 'getInteractCount0528C', sType: 'BrandWeiBo', iContrastType: 3 }, params)
|
|
return httpService({
|
|
url: `/api/v6.ashx`,
|
|
method: 'post',
|
|
data: obj,
|
|
headers: {
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 事件-微博调性对比
|
|
export function getBoauthen0528C(params) {
|
|
let obj = Object.assign({action: 'getBoauthen0528C', sType: 'BrandWeiBo', iContrastType: 3 }, params)
|
|
return httpService({
|
|
url: `/api/v6.ashx`,
|
|
method: 'post',
|
|
data: obj,
|
|
headers: {
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 事件-用户区域分布
|
|
export function getRegionWeiBoC(params) {
|
|
let obj = Object.assign({action: 'getRegionWeiBoC', sType: 'BrandWeiBo', iContrastType: 3 }, params)
|
|
return httpService({
|
|
url: `/api/v6.ashx`,
|
|
method: 'post',
|
|
data: obj,
|
|
headers: {
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 事件-微博用户画像
|
|
export function getSexMergeWeiBoC(params) {
|
|
let obj = Object.assign({action: 'getSexMergeWeiBoC', sType: 'BrandWeiBo', iContrastType: 3 }, params)
|
|
return httpService({
|
|
url: `/api/v6.ashx`,
|
|
method: 'post',
|
|
data: obj,
|
|
headers: {
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 事件-尾翼信息趋势
|
|
export function getCountTime0528C(params) {
|
|
let obj = Object.assign({action: 'getCountTime0528C', sType: 'BrandWeiYi', iContrastType: 3 }, params)
|
|
return httpService({
|
|
url: `/api/v6.ashx`,
|
|
method: 'post',
|
|
data: obj,
|
|
headers: {
|
|
'content-type': 'application/x-www-form-urlencoded'
|
|
}
|
|
})
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|