祖安之光
2025-11-18 00bae2110315cf9c9a533afea2c617d950f6768e
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
33
34
35
36
37
38
39
40
import request from "@/utils/request";
 
export function getCustomer(params) {
    return request({
        url: '/market/inventory/list',
        method: 'get',
        params: params
    })
}
export function getCustomerAll(params) {
    return request({
        url: 'market/inventory/listAll',
        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'
    })
}