admin
2022-05-23 e88ac05ee96cbf0306958323bf3063133bd53649
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!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>