|
|
@@ -58,9 +58,30 @@
|
|
|
/*记录已经用户引导*/
|
|
|
[HWDataManager setBoolWithKey:Const_Have_Show_Guide value:YES];
|
|
|
|
|
|
+
|
|
|
+ if(![connectDeviceManager shareInstance].DeviceThirdIdMod){
|
|
|
+
|
|
|
+ HLog(@"没有拿到设备信息");
|
|
|
+
|
|
|
+ KWeakSelf
|
|
|
+ [[connectDeviceManager shareInstance] getThridMsgBySN:sn didNetEnd:^(bool didSuc) {
|
|
|
+ if(didSuc){
|
|
|
+
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ [[iToast makeText:NSLocalizedString(@"guide_qrcoede_tips_get_SdnID_fail",nil)] show];
|
|
|
+ }
|
|
|
+
|
|
|
+ [weakSelf startMoveView];
|
|
|
+ }];
|
|
|
+
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
//是否已经有密码了 有就是输入密码 没有就是设置密码
|
|
|
NSString *curPwd = [connectDeviceManager shareInstance].DeviceThirdIdMod.data.password;
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
if(curPwd && curPwd.length > 0){
|
|
|
/*设置密码*/
|
|
|
inputPWDViewController *nextVC = [[inputPWDViewController alloc] init];
|