schangxiang@126.com
2024-11-21 60735779c303c2dd10feea45d7fd761103b225e0
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
41
42
43
44
45
46
47
48
import request from '/@/utils/request';
enum Api {
  AddWmsContainerType = '/api/wmsContainerType/add',
  DeleteWmsContainerType = '/api/wmsContainerType/delete',
  UpdateWmsContainerType = '/api/wmsContainerType/update',
  PageWmsContainerType = '/api/wmsContainerType/page',
  DetailWmsContainerType = '/api/wmsContainerType/detail',
}
 
// 增加容器类型
export const addWmsContainerType = (params?: any) =>
    request({
        url: Api.AddWmsContainerType,
        method: 'post',
        data: params,
    });
 
// 删除容器类型
export const deleteWmsContainerType = (params?: any) => 
    request({
            url: Api.DeleteWmsContainerType,
            method: 'post',
            data: params,
        });
 
// 编辑容器类型
export const updateWmsContainerType = (params?: any) => 
    request({
            url: Api.UpdateWmsContainerType,
            method: 'post',
            data: params,
        });
 
// 分页查询容器类型
export const pageWmsContainerType = (params?: any) => 
    request({
            url: Api.PageWmsContainerType,
            method: 'post',
            data: params,
        });
 
// 详情容器类型
export const detailWmsContainerType = (id: any) => 
    request({
            url: Api.DetailWmsContainerType,
            method: 'get',
            data: { id },
        });