refine
This commit is contained in:
@@ -29,7 +29,7 @@ export default {
|
||||
const { username } = JSON.parse(config.body)
|
||||
return userMap[username]
|
||||
},
|
||||
getInfo: config => {
|
||||
getUserInfo: config => {
|
||||
const { token } = param2Obj(config.url)
|
||||
if (userMap[token]) {
|
||||
return userMap[token]
|
||||
|
Reference in New Issue
Block a user