jaxMsg/default.js"></script>
    <script>
        $(function () {
            $(".layui-form").submit(function () {
                var param = {
                    username: $(".layui-form input[name='username']").val(),
                    password: $(".layui-form input[name='password']").val()
                };
                H.post("login", param, function () {
                    location.href = "/admin/";
                });
                return false;
            });
        });
    </script>
</