提交 22f58b41 authored 作者: wangyizheng's avatar wangyizheng

案例列表|添加案例

上级 ef27aba3
import httpRequest from '@/utils/axios'
// 添加特征
export function createCharacteristic2(data) {
var headers = {
'Content-Type': 'application/json'
}
return httpRequest.post('/api/opera/v2/training/characteristic', data, { headers })
}
// 添加特征
export function characteristic2(id, params = {}) {
var headers = {
'Content-Type': 'application/json'
}
return httpRequest.get(`/api/opera/v2/training/${id}/characteristic`, { params }, { headers })
}
// 删除用户群特征
export function deleteCharacteristic2(id, params = {}) {
var headers = {
'Content-Type': 'application/json'
}
return httpRequest.delete(`/api/opera/v2/training/${id}/characteristic`, { params }, { headers })
}
// 删除用户群特征
export function upateCharacteristic2(id, data = {}) {
var headers = {
'Content-Type': 'application/json'
}
return httpRequest.put(`/api/opera/v2/training/${id}/characteristic`, data, { headers })
}
// 群特征列表
export function characteristics2List(params) {
var headers = {
'Content-Type': 'application/json'
}
return httpRequest.get('/api/opera/v2/training/characteristics', { params }, { headers })
}
import httpRequest from '@/utils/axios'
// 添加特征
export function createReachScheme(data) {
var headers = {
'Content-Type': 'application/json'
}
return httpRequest.post('/api/opera/v2/training/reach-scheme', data, { headers })
}
// 添加特征
export function ReachScheme(id, params = {}) {
var headers = {
'Content-Type': 'application/json'
}
return httpRequest.get(`/api/opera/v2/training/${id}/reach-scheme`, { params }, { headers })
}
// 删除用户群特征
export function deleteReachScheme(id, params = {}) {
var headers = {
'Content-Type': 'application/json'
}
return httpRequest.delete(`/api/opera/v2/training/${id}/reach-scheme`, { params }, { headers })
}
// 删除用户群特征
export function upateReachScheme(id, data = {}) {
var headers = {
'Content-Type': 'application/json'
}
return httpRequest.put(`/api/opera/v2/training/${id}/reach-scheme`, data, { headers })
}
// 群特征列表
export function reachSchemeList(params) {
var headers = {
'Content-Type': 'application/json'
}
return httpRequest.get('/api/opera/v2/training/reach-schemes', { params }, { headers })
}
import httpRequest from '@/utils/axios'
// 添加特征
export function createUserUseConfig(data) {
var headers = {
'Content-Type': 'application/json'
}
return httpRequest.post('/api/opera/v2/training/user-use-config', data, { headers })
}
// 添加特征
export function UserUseConfig(id, params = {}) {
var headers = {
'Content-Type': 'application/json'
}
return httpRequest.get(`/api/opera/v2/training/${id}/user-use-config`, { params }, { headers })
}
// 删除用户群特征
export function deleteUserUseConfig(id, params = {}) {
var headers = {
'Content-Type': 'application/json'
}
return httpRequest.delete(`/api/opera/v2/training/${id}/user-use-config`, { params }, { headers })
}
// 删除用户群特征
export function upateUserUseConfig(id, data = {}) {
var headers = {
'Content-Type': 'application/json'
}
return httpRequest.put(`/api/opera/v2/training/${id}/user-use-config`, data, { headers })
}
// 群特征列表
export function userUseConfigList(params) {
var headers = {
'Content-Type': 'application/json'
}
return httpRequest.get('/api/opera/v2/training/user-use-configs', { params }, { headers })
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论