沈丘营商办后台前端项目
346149741
2024-06-18 9fb6a0ff49c2af567be2e3adaf93c4c301b3f102
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
import request from '@/utils/request'
 
// 查询业务info列表
export function listInfo(query) {
  return request({
    url: '/business/info/list',
    method: 'get',
    params: query
  })
}
 
// 查询业务info详细
export function getInfo(id) {
  return request({
    url: '/business/info/' + id,
    method: 'get'
  })
}
 
// 新增业务info
export function addInfo(data) {
  return request({
    url: '/business/info/add',
    method: 'post',
    data: data
  })
}
 
// 修改业务info
export function updateInfo(data) {
  return request({
    url: '/business/info/upd',
    method: 'post',
    data: data
  })
}
 
// 删除业务info
export function delInfo(id) {
  return request({
    url: '/business/info/' + id,
    method: 'delete'
  })
}
 
// 生成面单(邮寄信息)
export function addEms(id) {
  return request({
    url: '/business/emsInfo/addEms/'+id,
    method: 'post'
  })
}
// 不发邮件
export function batchUpdateIsNeedMail(data) {
  return request({
    url: '/business/info/batchUpdateIsNeedMail',
    method: 'post',
    data: data
  })
}
// 重新下单
export function reorder(id) {
  return request({
    url: '/business/info/reorder/'+id,
    method: 'post'
  })
}