SourceCode/jiouosdp/Areas/WeiXinApi/Views/WeiXinOpen/LoginOautho.cshtml

(完整代码) 1KB

@{
    ViewBag.Title = "登录授权";
}
<script src="../../../../Scripts/jquery-1.7.1.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<img style="cursor:pointer" id="idlogin" src="../../../../Images/weixin/icon32_wx_button.png" />
<br /><br /><br />
<img style="cursor:pointer" id="idlogin2" src="../../../../Images/weixin/icon_button3_1.png" />
<br /><br /><br />
<button id="get_refresh_authorizer_access_token">get_refresh_authorizer_access_token</button>

<script>
    $(function () {
        $('#idlogin').click(function () {
            $.ajax({
                url: "geturl",
                type: "post",
                success: function (context, textStatus) {
                    if (context.Result == "OK") {
                        window.location.href = context.Url;
                    }
                    else {
                        alert(context.Msg);
                    }
                }
            }, false);
        });

        $('#idlogin2').click(function () {
            $.ajax({
                url: "geturl2",
                type: "post",
                success: function (context, textStatus) {
                    if (context.Result == "OK") {
                        window.location.href = context.Url;
                    }
                    else {
                        alert(context.Msg);
                    }
                }
            }, false);
        });

        $('#get_refresh_authorizer_access_token').click(function () {
            $.ajax({
                url: "get_refresh_authorizer_access_token",
                type: "post",
                success: function (context, textStatus) {
                    if (context.Result == "OK") {
                        alert(context.Msg);
                    }
                }
            }, false);
        });
    });
</script>

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。