重庆迈尖科技有限公司
2020-06-16 915e71230ef7336fd15666fe993eded2c364eaea
:Merge branch 'master' of ssh://193.112.35.168:29418/flqFront
1个文件已添加
52 ■■■■■ 已修改文件
help/tuanyou.html 52 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
help/tuanyou.html
New file
@@ -0,0 +1,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: "GET",
                    data: JSON.parse(params),
                    url: "http://api.flqapp.com/fanli/api/v2/user/getPhone",
                    dataType: "jsonp",
                    async: false,
                    success: function(result) {
                        if (result.code == 0) {
                            //电话号码
                            var phone=result.data.phone;
                            yesApp.jumpWeb("https://open.czb365.com/redirection/todo/?platformType=98645363&platformCode="+phone);
                            setTimeout(function() {
                                yesApp.finishPage();
                            }, 1000);
                        } else {
                            yesApp.toast(result.msg);
                            setTimeout(function() {
                                yesApp.finishPage();
                            }, 1000);
                        }
                    }
                });
            });
        </script>
    </body>
</html>