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
51
52
<!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() {
                var uid=yesApp.getUid();
                if(uid==null||uid==0)
                {
                    yesApp.login();
                    return;
                }
                
                
                var params = {
                    uid: uid
                };
                params = yesApp.getRequestBaseParams(params);
                $.ajax({
                    type: "POST",
                    data: JSON.parse(params),
                    url: "http://api.flqapp.com/fanli/api/v2/tuanyou/getAuthCode",
                    async: false,
                    success: function(result) {
                        result=JSON.parse(result);
                        if (result.code == 0) {
                            //电话号码
                            var code=result.data;
                            yesApp.jumpWeb("https://open.czb365.com/redirection/todo/?platformType=98645363&authCode="+code);
                            setTimeout(function() {
                                yesApp.finishPage();
                            }, 1000);
                        } else {
                            yesApp.toast(result.msg);
                            setTimeout(function() {
                                yesApp.finishPage();
                            }, 1000);
                        }
                    }
                });
            });
        </script>
 
    </body>
</html>