保存
This commit is contained in:
14
mail-vue/src/request/account.js
Normal file
14
mail-vue/src/request/account.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import http from '@/axios/index.js'
|
||||
|
||||
export function accountList(accountId, size) {
|
||||
return http.get('/account/list', {params: {accountId, size}});
|
||||
}
|
||||
|
||||
export function accountAdd(email,token) {
|
||||
return http.post('/account/add', {email,token})
|
||||
}
|
||||
|
||||
export function accountDelete(accountId) {
|
||||
return http.delete('/account/delete', {params: {accountId}})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user