Commit 06e84f2a authored by David黄金龙's avatar David黄金龙

修改一处 bug

parent 21fc445f
......@@ -194,7 +194,7 @@ extension YHLoginViewModel {
guard let self = self else { return }
printLog(json)
if let dic = json.data as? [AnyHashable : Any] {
if let uid = dic["id"] as? String {
if let uid = dic["uid"] as? String {
YHLoginManager.shared.userModel?.id = uid
callBack?(uid)
return
......
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