This commit is contained in:
Pan
2017-08-23 11:39:16 +08:00
committed by 花裤衩
parent 385ec5a762
commit 3c05519a09
17 changed files with 54 additions and 61 deletions

View File

@@ -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]