This commit is contained in:
仲么了
2024-02-19 13:44:32 +08:00
commit 361cbb713d
238 changed files with 202544 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
import createAxios from '@/utils/request'
export const dicDelete = (id: string) => {
let form = new FormData()
form.append('id', id)
return createAxios({
url: '/system-boot/dic/delete',
method: 'DELETE',
headers: {
'Content-Type': 'application/x-www-form-urlencoded'
},
data: form
})
}
export function dicAdd(data: any) {
return createAxios({
url: '/system-boot/dic/add',
method: 'post',
data: data
})
}
export function dicUpdate(data: any) {
return createAxios({
url: '/system-boot/dic/update',
method: 'put',
data: data
})
}