You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
/*
|
|
|
|
|
* @Author: qinzhenpen qzp1807@126.com
|
|
|
|
|
* @Date: 2024-08-16 10:14:59
|
|
|
|
|
* @LastEditors: qinzhenpen qzp1807@126.com
|
|
|
|
|
* @LastEditTime: 2024-08-16 16:38:09
|
|
|
|
|
* @FilePath: \vue3\src\api\marketing-algorithm.js
|
|
|
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
|
|
|
*/
|
|
|
|
|
import request from "@/utils/request";
|
|
|
|
|
// 选择指标分析数据展示
|
|
|
|
|
export function getMarketingAlgorithm(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/api/model/viewAnalyzeData",
|
|
|
|
|
method: "POST",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
// 查看指标
|
|
|
|
|
export function getMarketingAlgorithmList(params) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/api/model/viewMetrics",
|
|
|
|
|
method: "POST",
|
|
|
|
|
params,
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
// 描述性统计数据预处理
|
|
|
|
|
export function getMarketingAlgorithmPreprocessing(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/api/model/descriptiveStatistics",
|
|
|
|
|
method: "POST",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
|
}
|