补充提交
This commit is contained in:
@@ -497,6 +497,9 @@
|
||||
MJWeakSelf
|
||||
[QXLoginNetwork loginAccountWithUser_login:user_login successBlock:^(QXLoginModel * _Nonnull loginModel) {
|
||||
hideLoadingInView(self.view);
|
||||
[[NSUserDefaults standardUserDefaults] setInteger:loginModel.is_can_chat forKey:kIsCanChat];
|
||||
[[NSUserDefaults standardUserDefaults] setObject:loginModel.can_chat_money forKey:kIsCanChatMoney];
|
||||
[[NSUserDefaults standardUserDefaults] synchronize];
|
||||
[[QXGlobal shareGlobal] saveLoginData:[loginModel yy_modelToJSONString]];
|
||||
AppDelegate *delegate = (AppDelegate*)[UIApplication sharedApplication].delegate;
|
||||
[delegate tencentLogin];
|
||||
|
||||
Reference in New Issue
Block a user