<!DOCTYPE html>
|
<html>
|
<head>
|
<meta charset="utf-8">
|
<title>正在跳转</title>
|
<script src="http://img.flqapp.com/resource/js/app20200521.js"></script>
|
<script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
|
</head>
|
<body>
|
|
|
<script type="text/javascript">
|
$(function() {
|
//获取链接
|
function getQueryString(name) {
|
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
|
var r = window.location.search.substr(1).match(reg);
|
if (r != null) return unescape(r[2]);
|
return null;
|
}
|
var link = window.location.search.split("url=")[1];
|
var params = {
|
link: link
|
};
|
params = yesApp.getRequestBaseParams(params);
|
$.ajax({
|
type: "GET",
|
data: JSON.parse(params),
|
url: "http://api.flqapp.com/fanli/api/v2/goods/convertJDLink",
|
dataType: "jsonp",
|
async: false,
|
success: function(result) {
|
if (result.code == 0) {
|
yesApp.jumpJD(result.data.jumpLink);
|
} else {
|
yesApp.jumpJD(link);
|
}
|
setTimeout(function() {
|
yesApp.finishPage();
|
}, 1000);
|
|
}
|
});
|
|
|
});
|
</script>
|
|
</body>
|
</html>
|