This commit is contained in:
dqjdda
2019-09-07 17:48:18 +08:00
13 changed files with 530 additions and 147 deletions

24
src/api/localStorage.js Normal file
View File

@@ -0,0 +1,24 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: 'api/localStorage',
method: 'post',
data
})
}
export function del(id) {
return request({
url: 'api/localStorage/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: 'api/localStorage',
method: 'put',
data
})
}