|
@@ -41,6 +41,8 @@
|
|
|
[self.navigationBar setHidden:YES];
|
|
|
[self.navBarBGView setHidden:YES];
|
|
|
|
|
|
+ [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(PCLoginDidPopFun) name:PCDidLoginNotification object:nil];
|
|
|
+
|
|
|
[self drawAnyView];
|
|
|
}
|
|
|
|
|
@@ -605,6 +607,9 @@
|
|
|
NSInteger tag = but.tag;
|
|
|
|
|
|
if(tag == 100){
|
|
|
+ //test code
|
|
|
+ // [self getPCloginFun];
|
|
|
+
|
|
|
scanToPCLoginViewController *nextVC = [scanToPCLoginViewController new];
|
|
|
[self.navigationController pushViewController:nextVC animated:YES];
|
|
|
}
|
|
@@ -631,10 +636,10 @@
|
|
|
|
|
|
KWeakSelf
|
|
|
[[netWorkManager shareInstance] CommonGetWithCallBackCode:@"/box/login/addAndGetOne" Parameters:paraDict success:^(id _Nonnull responseObject){
|
|
|
-// SuperModel *ShareMarkMod = [[SuperModel alloc] initWithDictionary:responseObject error:nil];
|
|
|
-// if(ShareMarkMod){
|
|
|
-// [weakSelf scanToPCloginFunWithID:responseObject[@"data"][@"boxLoginId"]];
|
|
|
-// }
|
|
|
+ SuperModel *ShareMarkMod = [[SuperModel alloc] initWithDictionary:responseObject error:nil];
|
|
|
+ if(ShareMarkMod){
|
|
|
+ [weakSelf scanToPCloginFunWithID:responseObject[@"data"][@"boxLoginId"]];
|
|
|
+ }
|
|
|
|
|
|
} failure:^(NSError * _Nonnull error) {
|
|
|
}];
|
|
@@ -682,4 +687,12 @@
|
|
|
nextVC.loginIdString = idStr;
|
|
|
[self.navigationController pushViewController:nextVC animated:YES];
|
|
|
}
|
|
|
+#pragma mark Pc登录页面Pop出来
|
|
|
+- (void)PCLoginDidPopFun
|
|
|
+{
|
|
|
+ dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.2 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
|
+ [self showTabbarFun];
|
|
|
+ });
|
|
|
+}
|
|
|
+
|
|
|
@end
|