Signed-off-by: 吴文峰 <kevin@lmve.net>

This commit is contained in:
2026-06-09 18:59:16 +08:00
parent 33469dc746
commit 51f3f917f9
62 changed files with 12690 additions and 1 deletions
+28
View File
@@ -0,0 +1,28 @@
import api from './index.js'
export const customerApi = {
// 客户列表
list(params = {}) {
return api.post('/customer/list', params)
},
// 客户详情
get(id) {
return api.post('/customer/get', { id })
},
// 新增客户
add(data) {
return api.post('/customer/add', data)
},
// 编辑客户
update(data) {
return api.post('/customer/update', data)
},
// 删除客户
delete(id) {
return api.post('/customer/delete', { id })
}
}