From dd4177dda10fef3ba6d0fe395c2a958ef194e0a6 Mon Sep 17 00:00:00 2001 From: kai60 Date: Sun, 2 May 2021 22:39:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E6=89=AB=E7=A0=81=E6=BF=80?= =?UTF-8?q?=E6=B4=BBbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ifish/controllers/erweima/ScanViewController.m | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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];