上传前端测试

This commit is contained in:
橙子
2021-10-10 17:10:35 +08:00
parent ac1d398e69
commit 945437a2eb
30 changed files with 11061 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
import myaxios from '@/utils/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: 'cut',
data: data
})
},
delItemList(url, Ids) {
return myaxios({
url: url,
method: 'del',
data: Ids
})
},
}