添加前端

This commit is contained in:
橙子
2022-04-26 01:34:47 +08:00
parent f3061ed643
commit 630cfb6769
99 changed files with 5239 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
import myaxios from '@/util/myaxios'
export default {
getItem(url) {
return myaxios({
url: url,
method: 'get'
})
},
addItem(url, data) {
return myaxios({
url: url,
method: 'post',
data: data
})
},
updateItem(url, data) {
return myaxios({
url: url,
method: 'put',
data: data
})
},
delItemList(url, Ids) {
return myaxios({
url: url,
method: 'delete',
data: Ids
})
},
}