zhouwx
2025-09-17 28cf6fc4ded0524afc5e363cd717bf7a1d26ba7f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import request from "@/utils/request";
 
export function getCustomer(params) {
    return request({
        url: '/market/inventory/list',
        method: 'get',
        params: params
    })
}
 
export function addCustomer(data) {
    return request({
        url: '/market/inventory/insert',
        method: 'post',
        data: data
    })
}
 
export function editCustomer(params) {
    return request({
        url: `/market/inventory/update`,
        method: 'post',
        data: params
    })
}
 
export function delCustomer(data) {
    return request({
        url: `/market/inventory/deleted?customerId=${data}`,
        method: 'get'
    })
}