处理扫码激活bug

This commit is contained in:
kai60 2021-05-02 22:39:50 +08:00
parent 482ac963ae
commit dd4177dda1
1 changed files with 15 additions and 1 deletions

View File

@ -319,7 +319,21 @@
[self activeCameraWith:self.cameraModel.cameraId addWith:cameraCade];
}else if ([str hasPrefix:@"IfishShopId:"]){
}//http://yoosee.co/?D=21811520709178464-17665300
else if ([str containsString:@"yoosee.co"]) {
//
NSString *cameraCade=[CommonUtils getNotNilStr:[[deviceIdString componentsSeparatedByString:@"-"] lastObject]];
if (!self.cameraModel){
[self.view makeToast:@"请到首页摄像头列表,选择摄像头后激活"];
return;
}
[self activeCameraWith:self.cameraModel.cameraId addWith:cameraCade];
}
else if ([str hasPrefix:@"IfishShopId:"]){
//
//
NSString *shopId=[str substringFromIndex:12];