spring
2025-04-27 41c9b2fa8cef5f45c23d00d33680764b48dfc3cc
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 '@/router/axios'
 
export function fetchList(query) {
  return request({
    url: '/mes/mould/page',
    method: 'get',
    params: query
  })
}
 
export function addMould(data) {
  return request({
    url: '/mes/mould/addMould',
    method: 'post',
    data: data
  })
}
 
export function updateMould(data) {
  return request({
    url: '/mes/mould/updateMould',
    method: 'post',
    data: data
  })
}
 
export function delById(id) {
  return request({
    url: '/mes/mould/'+id,
    method: 'delete',
  })
}