|
|
@@ -39,7 +39,7 @@
|
|
|
@property(nonatomic, strong) BaseNavigationController *preRootPlayerNav;
|
|
|
|
|
|
@property(nonatomic, assign) bool isQRCodeType;//第一次 扫码进来的
|
|
|
-@property(nonatomic, assign) bool isNeedToShowSecretKey;//扫码进来的SN 没有密码 则需要显示秘钥
|
|
|
+//@property(nonatomic, assign) bool isNeedToShowSecretKey;//扫码进来的SN 没有密码 则需要显示秘钥
|
|
|
|
|
|
@property (nonatomic, assign) BOOL isLoginAgainType;// 单点登录 点重新登录进来的
|
|
|
|
|
|
@@ -56,7 +56,7 @@
|
|
|
|
|
|
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(showLockViewFun:) name:lockBypwdNotification object:nil];
|
|
|
|
|
|
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(setPwdVCFun:) name:setPwdNotification object:nil];
|
|
|
+ //[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(setPwdVCFun:) name:setPwdNotification object:nil];
|
|
|
|
|
|
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(forgetPwdFun:) name:forgetPwdNotification object:nil];
|
|
|
|
|
|
@@ -290,17 +290,13 @@
|
|
|
if(isPrivacyMode)
|
|
|
{
|
|
|
[playerRootVC setShowImgAndVoiceTypeFun:NO];
|
|
|
+ [self showCalculatorVC];
|
|
|
}
|
|
|
else{
|
|
|
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(5.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
|
mainBlock(^{
|
|
|
playerRootVC.isPwdVCShow = NO;
|
|
|
[playerRootVC setShowImgAndVoiceTypeFun:YES];
|
|
|
-
|
|
|
- if(self->_isNeedToShowSecretKey){
|
|
|
- [playerRootVC showSecretkeyFun];
|
|
|
- }
|
|
|
-
|
|
|
});
|
|
|
});
|
|
|
}
|
|
|
@@ -494,6 +490,18 @@
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
+ //修复扫描已经有密码的合作 点击跳过因为网络弹框再次覆盖一次密码(需要输入两次密码)
|
|
|
+ BaseNavigationController*curTopNav = (BaseNavigationController*)[iTools appRootViewController];
|
|
|
+ if([curTopNav isKindOfClass:[BaseNavigationController class]]){
|
|
|
+ NSArray *vcArr = [curTopNav viewControllers];
|
|
|
+ if(vcArr && vcArr.count >0){
|
|
|
+ UIViewController *lastVC = vcArr.lastObject;
|
|
|
+ if([lastVC isKindOfClass:[inputPWDViewController class]]){
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
/*无有效时长直接返回不加载任何加密界面*/
|
|
|
NSString *PwdStr = nil;
|
|
|
NSDictionary *deviceDict = [HWDataManager getObjectWithKey:Const_Have_Add_Device];
|
|
|
@@ -675,6 +683,7 @@
|
|
|
[[uploadFileManager shareInstance] suspendUploadFileFun:YES];
|
|
|
[uploadFileManager shareInstance].databaseArr = [NSMutableArray new];
|
|
|
[uploadFileManager shareInstance].fileModelDataArr = [NSMutableArray new];
|
|
|
+ [uploadFileManager shareInstance].curUploadFileDataModel.curUploadStateType = uploadStateWait;
|
|
|
|
|
|
[[downloadManager shareInstance] suspendDownloadFileFun:YES];
|
|
|
[downloadManager shareInstance].databaseArr = [NSMutableArray new];
|
|
|
@@ -703,10 +712,10 @@
|
|
|
}
|
|
|
|
|
|
#pragma mark 进入设置密码
|
|
|
-- (void)setPwdVCFun:(NSNotification*)not
|
|
|
-{
|
|
|
- _isNeedToShowSecretKey = YES;
|
|
|
-}
|
|
|
+//- (void)setPwdVCFun:(NSNotification*)not
|
|
|
+//{
|
|
|
+// _isNeedToShowSecretKey = YES;
|
|
|
+//}
|
|
|
|
|
|
#pragma mark 忘记密码
|
|
|
- (void)forgetPwdFun:(NSNotification*)not
|