Commit 0fb1c3311ec04652323de76196ef9ed81675afd9
1 parent
ab380ebb
Exists in
newLive
云信登录暂时取消
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
YouerLiveVideo/YouerLiveVideo/AppDelegate.swift
@@ -21,7 +21,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate,NIMLoginManagerDelegate { | @@ -21,7 +21,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate,NIMLoginManagerDelegate { | ||
21 | httpServer.accountManager=accountManager | 21 | httpServer.accountManager=accountManager |
22 | accountManager.setTokenInfo(tokenInfo: accountManager.loadToken()) | 22 | accountManager.setTokenInfo(tokenInfo: accountManager.loadToken()) |
23 | // setShareSDKSetting() | 23 | // setShareSDKSetting() |
24 | - setNIMSDKRegister() | 24 | +// setNIMSDKRegister() |
25 | return true | 25 | return true |
26 | } | 26 | } |
27 | 27 |
YouerLiveVideo/YouerLiveVideo/controllers/User/UserCenter/LoginViewController.swift
@@ -82,7 +82,7 @@ class LoginViewController: UIViewController,UITextFieldDelegate { | @@ -82,7 +82,7 @@ class LoginViewController: UIViewController,UITextFieldDelegate { | ||
82 | AppDelegate.instance().accountManager.saveToken(tokenInfo: ret) | 82 | AppDelegate.instance().accountManager.saveToken(tokenInfo: ret) |
83 | AppDelegate.instance().accountManager.refreshUserInfo(completionHandler: { (finish) in | 83 | AppDelegate.instance().accountManager.refreshUserInfo(completionHandler: { (finish) in |
84 | if finish{ | 84 | if finish{ |
85 | - self.loadUserInfo() | 85 | +// self.loadUserInfo() |
86 | }else{ | 86 | }else{ |
87 | AppDelegate.instance().window?.makeToast("身份获取失败") | 87 | AppDelegate.instance().window?.makeToast("身份获取失败") |
88 | SVProgressHUD.dismiss() | 88 | SVProgressHUD.dismiss() |