Commit b33396d2 authored by DavidHuang's avatar DavidHuang

优化 七鱼 setUserInfo的逻辑

parent d5ad5374
......@@ -330,13 +330,18 @@ extension YHButlerServiceManager {
// 如果新旧账号不相同,先登出SDK,再用新账号信息写入,
logoutCurrentUser { [weak self] success in
if success {
self?.setupInfomationForQiYu(completion: { done in
completion(done)
})
} else {
completion(success)
}
// if success {
// self?.setupInfomationForQiYu(completion: { done in
// completion(done)
// })
// } else {
// completion(success)
// }
self?.setupInfomationForQiYu(completion: { done in
completion(done)
})
}
}
......
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