添加部分埋点
This commit is contained in:
@@ -228,9 +228,10 @@
|
||||
self.passwordTextField.text.length);
|
||||
NSString *email = self.emailTextField.text ? self.emailTextField.text : @"";
|
||||
NSString *password = self.passwordTextField.text ? self.passwordTextField.text : @"";
|
||||
|
||||
KBWeakSelf;
|
||||
[self.loginVM emailLoginEmail:email password:password WithCompletion:^(BOOL success, NSError * _Nullable error) {
|
||||
if (success) {
|
||||
[weakSelf report:email];
|
||||
[[NSUserDefaults standardUserDefaults] setValue:email forKey:KBUserEmailKey];
|
||||
[[NSUserDefaults standardUserDefaults] synchronize];
|
||||
id<UIApplicationDelegate> appDelegate = UIApplication.sharedApplication.delegate;
|
||||
@@ -248,6 +249,11 @@
|
||||
}];
|
||||
|
||||
}
|
||||
- (void)report:(NSString *)account{
|
||||
[[KBMaiPointReporter sharedReporter] reportNewAccountWithType:@"登录用户" account:account completion:^(BOOL success, NSError * _Nullable error) {
|
||||
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)onTapForgotPassword {
|
||||
KBLOG(@"KBEmailLoginVC onTapForgotPassword");
|
||||
|
||||
Reference in New Issue
Block a user