手机端打开网站,会随机跳到京东 淘宝 微信 今日头条等app
网站被挂马了
最简单的判断方法,把会跳转也的页面的源码跟未上架前的源码对比,你就知道马挂哪了。
我也遇见过这样的问题。当然挂马的方法也有很多就是了。找出来并不难。
运营商劫持的问题基本上是不会出现的。1、添加京东APP的,Schemes,允许跳转到京东
2、
```
aasa
```
NSString skuId =selfsmartDevItems[indexPathrow][@"skuId"];
NSString url = [[NSString stringWithFormat:@"openAppjdMobile://virtualparams={\"category\":\"jump\",\"des\":\"productDetail\",\"skuId\":\"%@\",\"sourceType\":\"JSHOP_SOURCE_TYPE\",\"sourceValue\":\"JSHOP_SOURCE_VALUE\"}",skuId] stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
NSURL requestURL = [NSURL URLWithString:url];
if([[UIApplication sharedApplication] canOpenURL:requestURL]) {
[[UIApplication sharedApplication] openURL:requestURL];
}else{
requestURL = [NSURL URLWithString:[NSString stringWithFormat:@">
最简单的判断方法,把会跳转也的页面的源码跟未上架前的源码对比,你就知道马挂哪了。
我也遇见过这样的问题。当然挂马的方法也有很多就是了。找出来并不难。
运营商劫持的问题基本上是不会出现的。1、添加京东APP的,Schemes,允许跳转到京东
2、
```
aasa
```
NSString skuId =selfsmartDevItems[indexPathrow][@"skuId"];
NSString url = [[NSString stringWithFormat:@"openAppjdMobile://virtualparams={\"category\":\"jump\",\"des\":\"productDetail\",\"skuId\":\"%@\",\"sourceType\":\"JSHOP_SOURCE_TYPE\",\"sourceValue\":\"JSHOP_SOURCE_VALUE\"}",skuId] stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
NSURL requestURL = [NSURL URLWithString:url];
if([[UIApplication sharedApplication] canOpenURL:requestURL]) {
[[UIApplication sharedApplication] openURL:requestURL];
}else{
requestURL = [NSURL URLWithString:[NSString stringWithFormat:@">
0条评论