前后端代码解构

This commit is contained in:
2025-03-13 11:15:27 +08:00
parent 6623a6c03d
commit 222ebb07dc
579 changed files with 0 additions and 72316 deletions

View File

@@ -1,52 +0,0 @@
import request from '@/utils/request'
// 查询CRM 客户列表
export function listCustomer(query) {
return request({
url: '/oa/customer/list',
method: 'get',
params: query
})
}
// 查询CRM 客户列表
export function listSeaCustomer(query) {
return request({
url: '/oa/customer/list-sea',
method: 'get',
params: query
})
}
// 查询CRM 客户详细
export function getCustomer(customerId) {
return request({
url: '/oa/customer/' + customerId,
method: 'get'
})
}
// 新增CRM 客户
export function addCustomer(data) {
return request({
url: '/oa/customer',
method: 'post',
data: data
})
}
// 修改CRM 客户
export function updateCustomer(data) {
return request({
url: '/oa/customer',
method: 'put',
data: data
})
}
// 删除CRM 客户
export function delCustomer(customerId) {
return request({
url: '/oa/customer/' + customerId,
method: 'delete'
})
}