<commit_before>﻿@{
    ViewBag.Title = "异步方法测试页面";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section HeaderContent
{
    <style>
        .asyncWapper {
            text-align: center;
            padding: 30px 30px;
        }

        .asyncWapper h1 {
            font-size: 200%;
        }

        .asyncWapper p {
            line-height: 200%;
        }

        .asyncWapper table thead
        {
            font-weight: bold;
        }

        .asyncWapper td {
            padding: 10px;
            line-height: 150%;
        }
    </style>
}
<div class="wrapper asyncWapper">
    <h1>异步方法测试</h1>
    <hr />
    <table>
        <thead>
            <tr>
                <th>方法</th>
                <th>说明</th>
                <th>测试方法</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>临时二维码<br/>（QrCodeApi.CreateAsync）</td>
                <td>打开后会显示最新获取的二维码，使用微信扫一扫，会得到随机的场景值</td>
                <td>@Html.ActionLink("点击测试", "QrCodeTest", null, new { @class = "txtButton" })</td>
            </tr>
            <tr>
                <td>模板消息<br/>（TemplateApi.SendTemplateMessageAsync）</td>
                <td>
                    1、关注“盛派网络小助手”公众号<br />
                    2、输入文字“TM”获取您的验证码，并填写到右侧的“验证码”中<br />
                    3、点击右侧【点击测试】按钮，将会在公众号上收到消息
                </td>
                <td>
                    @using (Html.BeginForm("TemplateMessageTest","AsyncMethods", FormMethod.Post))
                    {
                        <p>
                            验证码：<input type="text" id="tm_checkcode" name="checkcode" />
                            <input type="submit" value="点击测试" class="ui-button" />
                        </p>
                    }
                </td>
            </tr>
        </tbody>
    </table>
</div>
<div class="clear"></div>
<commit_msg>修改Demo<commit_after>﻿@{
    ViewBag.Title = "异步方法测试页面";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section HeaderContent
{
    <style>
        .asyncWapper {
            text-align: center;
            padding: 30px 30px;
        }

            .asyncWapper h1 {
                font-size: 200%;
            }

            .asyncWapper p {
                line-height: 200%;
            }

            .asyncWapper table thead {
                font-weight: bold;
            }

            .asyncWapper td {
                padding: 10px;
                line-height: 150%;
            }

            .asyncWapper ol {
                list-style-type: decimal;
                text-align: left;
            }
    </style>
}
<div class="wrapper asyncWapper">
    <h1>异步方法测试</h1>
    <hr />
    <table>
        <thead>
            <tr>
                <th>方法</th>
                <th>说明</th>
                <th>测试方法</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>临时二维码<br />（QrCodeApi.CreateAsync）</td>
                <td>打开后会显示最新获取的二维码，使用微信扫一扫，会得到随机的场景值</td>
                <td>@Html.ActionLink("点击测试", "QrCodeTest", null, new { @class = "txtButton" })</td>
            </tr>
            <tr>
                <td>模板消息<br />（TemplateApi.SendTemplateMessageAsync）</td>
                <td>
                    <ol>
                        <li>关注“盛派网络小助手”公众号</li>
                        <li>输入文字“TM”获取您的验证码，并填写到右侧的“验证码”中</li>
                        <li>点击右侧【点击测试】按钮，将会在公众号上收到通过异步接口发送的模板消息</li>
                    </ol>
                </td>
                <td>
                    @using (Html.BeginForm("TemplateMessageTest", "AsyncMethods", FormMethod.Post))
                    {
                        <p>
                            验证码：<input type="text" id="tm_checkcode" name="checkcode" />
                            <input type="submit" value="点击测试" class="ui-button" />
                        </p>
                    }
                </td>
            </tr>
        </tbody>
    </table>
</div>
<div class="clear"></div>

{'fraction_non_alphanumeric': 0.13774733637747336, 'fraction_numerical': 0.00989345509893455, 'mean_word_length': 1.0611604809200208, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 103, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3024879', 'n_tokens_mistral': 1426, 'n_tokens_neox': 1448, 'n_words': 185}