Commit 133d8944 authored by 冷冷's avatar 冷冷

👽 Updating code due to external API changes.

parent 8b7a7983
......@@ -64,7 +64,7 @@ export const getUserInfo = () => {
export const logout = () => {
return request({
url: '/auth/oauth/logout',
url: '/auth/token/logout',
method: 'delete'
})
}
......@@ -25,9 +25,9 @@ export function fetchList(query) {
})
}
export function delObj(id) {
export function delObj(token) {
return request({
url: '/admin/token/' + id,
url: '/admin/token/' + token,
method: 'delete'
})
}
......@@ -100,7 +100,7 @@ export default {
* 刷新回调
*/
refreshChange () {
this.getList(this.form)
this.getList(this.page)
},
searchChange (form) {
this.getList(this.page,form)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment