mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 04:35:42 +00:00
星铁mihomo API更改json内容
星铁mihomo API更改json内容 Signed-off-by: lcroof <lcroof@qq.com>
This commit is contained in:
parent
a49e843ed4
commit
31296ca637
@ -20,11 +20,10 @@ export default {
|
||||
return req.err('error', 60)
|
||||
}
|
||||
let ds = data.detailInfo
|
||||
let ac = ds.assistAvatarDetail
|
||||
let avatars = {}
|
||||
if (ac && !lodash.isEmpty(ac)) {
|
||||
avatars[ac.AvatarID] = ac
|
||||
}
|
||||
lodash.forEach(ds.assistAvatarList, (ds) => {
|
||||
avatars[ds.avatarId] = ds
|
||||
})
|
||||
lodash.forEach(ds.avatarDetailList, (ds) => {
|
||||
avatars[ds.avatarId] = ds
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user