smssdk更新

This commit is contained in:
kai60
2021-07-03 20:49:02 +08:00
parent 14ab3bf6ab
commit 3f5ee249b5
52 changed files with 1309 additions and 446 deletions
@@ -325,8 +325,7 @@
NSString *title = isTextCode ? @"短信验证码" : @"语音验证码";
[self timerFireWithTimerButton:timeBtn addPhoneNumber:phoneNumber timeBtnFinalTitle:title];
[SMSSDK getVerificationCodeByMethod:isTextCode ? SMSGetCodeMethodSMS : SMSGetCodeMethodVoice phoneNumber:phoneNumber zone:areaCode customIdentifier:nil result:^(NSError *error) {
[SMSSDK getVerificationCodeByMethod:isTextCode ? SMSGetCodeMethodSMS : SMSGetCodeMethodVoice phoneNumber:phoneNumber zone:areaCode template:nil result:^(NSError *error) {
if (!error) {
NSLog(@"获取验证码成功");
@@ -347,6 +346,7 @@
}
}];
;
}
-(void)getverifyWithTimerButton:(UIButton*)timeBtn addphoneNumber:(NSString*)phoneNumber zone:
@@ -356,7 +356,7 @@
[self timerFireWithTimerButton:timeBtn addPhoneNumber:phoneNumber timeBtnFinalTitle:@"语音验证码"];
[SMSSDK getVerificationCodeByMethod:SMSGetCodeMethodVoice phoneNumber:phoneNumber zone:areaCode customIdentifier:nil result:^(NSError *error) {
[SMSSDK getVerificationCodeByMethod:SMSGetCodeMethodVoice phoneNumber:phoneNumber zone:areaCode template:nil result:^(NSError *error) {
if (!error) {
NSLog(@"获取验证码成功");