Commit 623f5eb338c8919600ef527b1378b07cbcb63b27
1 parent
24df412b
认证-提交一个身份,审核中时 首页变成我的数字认证
Showing
2 changed files
with
3 additions
and
1 deletions
metaCode/Classes/Main/HomePage/Controller/AuthMainController/CNMetaCodeHomePageController.swift
| @@ -752,7 +752,7 @@ class CNMetaCodeHomePageController:CNLiveBaseViewController, NewPagedFlowViewDel | @@ -752,7 +752,7 @@ class CNMetaCodeHomePageController:CNLiveBaseViewController, NewPagedFlowViewDel | ||
| 752 | listMdl.authenticationsModel.forEach({ childModel in | 752 | listMdl.authenticationsModel.forEach({ childModel in |
| 753 | childModel.child.forEach { childChildModel in | 753 | childModel.child.forEach { childChildModel in |
| 754 | childChildModel.identities.forEach { identities in | 754 | childChildModel.identities.forEach { identities in |
| 755 | - if identities.userAuth == 1{ | 755 | + if identities.userAuth == 1 || identities.userAuth == 0{ |
| 756 | listMdl.userAuth = true//是否已经身份认证 | 756 | listMdl.userAuth = true//是否已经身份认证 |
| 757 | } | 757 | } |
| 758 | } | 758 | } |
metaCode/Classes/Main/MinePage/Controller/CNLiveMineAuthResultViewController.swift
| @@ -247,6 +247,8 @@ class CNLiveMineAuthResultViewController: CNLiveBaseViewController { | @@ -247,6 +247,8 @@ class CNLiveMineAuthResultViewController: CNLiveBaseViewController { | ||
| 247 | } | 247 | } |
| 248 | 248 | ||
| 249 | func popVC(){ | 249 | func popVC(){ |
| 250 | + NotificationCenter.default.post(name: Notification.Name.StandAuth.StandAuthNotificationSuccess, object: nil) | ||
| 251 | + | ||
| 250 | let controllers = self.navigationController?.viewControllers | 252 | let controllers = self.navigationController?.viewControllers |
| 251 | if controllers?.count ?? 0 > 2{ | 253 | if controllers?.count ?? 0 > 2{ |
| 252 | if controllers?[1] is CNLiveDigitalAssetsController{ | 254 | if controllers?[1] is CNLiveDigitalAssetsController{ |