add 友盟统计
This commit is contained in:
@@ -89,10 +89,10 @@
|
||||
self.weiXinLoginBtn.layer.cornerRadius = self.weiXinLoginBtn.frame.size.height / 2;
|
||||
|
||||
}
|
||||
|
||||
-(void)rightBtnAction{
|
||||
|
||||
[self dismissViewControllerAnimated:YES completion:nil];
|
||||
|
||||
}
|
||||
|
||||
-(void)viewWillAppear:(BOOL)animated{
|
||||
@@ -111,7 +111,6 @@
|
||||
PassWordResetVC *passVC= [[PassWordResetVC alloc] init];
|
||||
[self.navigationController pushViewController:passVC animated:YES];
|
||||
|
||||
|
||||
}
|
||||
|
||||
#pragma mark - 去注册
|
||||
@@ -120,11 +119,12 @@
|
||||
GiGaRegistViewController *registVC = [[GiGaRegistViewController alloc] init];
|
||||
[self.navigationController pushViewController:registVC animated:YES];
|
||||
|
||||
|
||||
}
|
||||
|
||||
#pragma mark - 登录
|
||||
-(void)loginBtnAction:(UIButton *)btn{
|
||||
//埋点
|
||||
[MobClick endEvent:MobClick_UserLogin];
|
||||
[GiGaUserDefault saveUserId:@"123"];
|
||||
[self dismissViewControllerAnimated:YES completion:nil];
|
||||
}
|
||||
@@ -138,7 +138,6 @@
|
||||
req.scope = @"snsapi_userinfo";
|
||||
req.state = @"wx_oauth2_authorization_state";
|
||||
[WXApi sendReq:req];
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -161,7 +160,6 @@
|
||||
GILog(@"access_token err-->%@",err.localizedDescription);
|
||||
|
||||
}];
|
||||
|
||||
}
|
||||
|
||||
//获取微信用户信息
|
||||
@@ -181,6 +179,7 @@
|
||||
|
||||
GILog(@"weixin_userinfoApi err-->%@",err.localizedDescription);
|
||||
}];
|
||||
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user