处理扫码激活bug
This commit is contained in:
parent
482ac963ae
commit
dd4177dda1
|
|
@ -319,7 +319,21 @@
|
||||||
[self activeCameraWith:self.cameraModel.cameraId addWith:cameraCade];
|
[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];
|
NSString *shopId=[str substringFromIndex:12];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue