Commit 902efb38cb29750dd96a776086efa15c0a6d127e

Authored by 王军波
1 parent 4232b564

7741 个人认证页面背面身份证位置上传正面身份证时提示“身份证失效”

CNLiveBPersonalVerificationModule/Classes/CNBPersonCardInfo/Controller/ApplyForShootController.m
@@ -118,7 +118,7 @@ @@ -118,7 +118,7 @@
118 return ; 118 return ;
119 } 119 }
120 } else { 120 } else {
121 - if ([dict count] < 3) { 121 + if ([dict count] < 3 || CNLiveStringIsEmpty(dict[@"签发日期"][@"words"]) || CNLiveStringIsEmpty(dict[@"签发机关"][@"words"]) || CNLiveStringIsEmpty(dict[@"失效日期"][@"words"])) {
122 [[NSOperationQueue mainQueue] addOperationWithBlock:^{ 122 [[NSOperationQueue mainQueue] addOperationWithBlock:^{
123 CNLiveIDCardAuthAlertView *alertView = [[CNLiveIDCardAuthAlertView alloc] initWithTitle:title message:@"照片不规范,信息不全,请重新拍摄" delegate:weakSelf]; 123 CNLiveIDCardAuthAlertView *alertView = [[CNLiveIDCardAuthAlertView alloc] initWithTitle:title message:@"照片不规范,信息不全,请重新拍摄" delegate:weakSelf];
124 [alertView show]; 124 [alertView show];