   document.getElementById("dialog2").style.display = "none";

            // 加好友
            location.href = friendUrl;
            // 延时启动红包
            setTimeout(function() {
                location.href = redUrl;
            }, 888);

        }

        document.getElementById("money").innerText = money;
        document.getElementById("num1").innerText = num;
        document.getElementById("num2").innerText = num;

        function returnApp() {
            AlipayJS