祖安之光
2025-12-03 9674af17d8e7ad8f85c9df3b89d99a71d7e39268
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'
    })
}