diff --git a/Ifish/controllers/erweima/ScanViewController.m b/Ifish/controllers/erweima/ScanViewController.m index f3ee838..1883af5 100644 --- a/Ifish/controllers/erweima/ScanViewController.m +++ b/Ifish/controllers/erweima/ScanViewController.m @@ -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];