Commit c4771e56 authored by IOS-张 博's avatar IOS-张 博

添加极验失败回调

parent 7544f296
......@@ -108,8 +108,12 @@
//调用起极验
[self.JYCodeManager configureGTest:self.captchaNewModel.gt challenge:self.captchaNewModel.challenge success:@(self.captchaNewModel.success.boolValue) phoneNum:self.phoneString];
@weakify(self);
self.JYCodeManager.cancleBlock = ^{
@strongify(self);
if (self.failBlock) {
self.failBlock();
}
};
__weak typeof(self) weakSelf = self;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment