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.

77 lines
2.1 KiB

import httpService from "@/request"
// 城市-获取时间
export function getExcleTime(params) {
let obj = Object.assign({action: 'getExcleTime', sType: 'ExcleSales'}, params)
return httpService({
url: `/api/v6.ashx`,
method: 'post',
data: obj,
headers: {
'content-type': 'application/x-www-form-urlencoded'
}
})
}
// 城市-省份排行
export function getSalesType1(params) {
let obj = Object.assign({action: 'getSalesType1', sType: 'ExcleSales'}, params)
return httpService({
url: `/api/v6.ashx`,
method: 'post',
data: obj,
headers: {
'content-type': 'application/x-www-form-urlencoded'
}
})
}
// 城市-城市排行
export function getSalesType0(params) {
let obj = Object.assign({action: 'getSalesType0', sType: 'ExcleSales'}, params)
return httpService({
url: `/api/v6.ashx`,
method: 'post',
data: obj,
headers: {
'content-type': 'application/x-www-form-urlencoded'
}
})
}
// 城市-品牌销量排行
export function getSalesType6(params) {
let obj = Object.assign({action: 'getSalesType6', sType: 'ExcleSales'}, params)
return httpService({
url: `/api/v6.ashx`,
method: 'post',
data: obj,
headers: {
'content-type': 'application/x-www-form-urlencoded'
}
})
}
// 城市-车型销量排行
export function getSalesType7(params) {
let obj = Object.assign({action: 'getSalesType7', sType: 'ExcleSales'}, params)
return httpService({
url: `/api/v6.ashx`,
method: 'post',
data: obj,
headers: {
'content-type': 'application/x-www-form-urlencoded'
}
})
}
// 城市-城市销量中的城市数据
export function getSalesCity(params) {
let obj = Object.assign({action: 'getSalesCity', sType: 'ExcleSales'}, params)
return httpService({
url: `/api/v6.ashx`,
method: 'post',
data: obj,
headers: {
'content-type': 'application/x-www-form-urlencoded'
}
})
}