<commit_before><template>
  <div class="container-fluid" style="margin-top:10px;">
    <div class="panel panel-default">

      <!-- Title -->
      <div class="panel-heading">原生支付设置[微信支付/支付宝]</div>

      <!-- Loading -->
      <div v-if="load.status === 0" class="panel-body text-center">
        <span class="glyphicon glyphicon-refresh component-loadding-icon"></span>
        加载中...
      </div>

      <!-- Body -->
      <div v-else-if="load.status === 1" class="panel-body form-horizontal">
        <blockquote>
          <p>ThinkSNS+增加使用微信支付/支付宝支付</p>
          <footer>服务器必须安装 OpenSSL 的 PHP 拓展。</footer>
          <footer>微信支付通知地址为 <code>/api/v2/wechatPay/notify</code></footer>
          <footer><a href="https://pay.weixin.qq.com/wiki/doc/api/index.html">开发文档</a></footer>
        </blockquote>

        <!-- APP ID -->
        <div class="form-group">
          <label class="col-sm-2 control-label">APPID</label>
          <div class="col-sm-4">
            <input type="text" class="form-control" placeholder="输入 微信公众号APPID" v-model="wechatPayAppId">
          </div>
          <span class="col-sm-6 help-block">
            请输入 微信开放平台审核通过的应用APPID。
          </span>
        </div>

        <!-- Secret Key -->
        <div class="form-group">
          <label class="col-sm-2 control-label">微信公众号APIKEY</label>
          <div class="col-sm-4">
            <input type="text" class="form-control" placeholder="请输入 微信公众号APIKEY" v-model="wechatPayApiKey">
          </div>
          <span class="col-sm-6 help-block">
            输入 微信商户平台API KEY。
          </span>
        </div>

        <!-- Ping++ public key -->
        <div class="form-group">
          <label class="col-sm-2 control-label">微信支付MCHID</label>
          <div class="col-sm-4">
            <input type="text" class="form-control" placeholder="请输入 微信公众号MCHID" v-model="wechatPayMchId">
          </div>
          <span class="col-sm-6 help-block">
            输入 微信商户平台的商户号，为数字
          </span>
        </div>
        <hr />
        <blockquote>
          <p>支付宝支付设置</p>
          <footer>服务器必须安装 OpenSSL 的 PHP 拓展。</footer>
          <footer>支付宝通知地址为 <code>/api/v2/alipay/notify</code></footer>
          <footer><a href="https://docs.open.alipay.com/">开发中心</a></footer>
        </blockquote>
        <div class="form-group">
          <label class="col-sm-2 control-label">支付宝APPId</label>
          <div class="col-sm-4">
            <input type="text" class="form-control" placeholder="请输入 微信公众号MCHID" v-model="alipayAppid">
          </div>
          <span class="col-sm-6 help-block">
            输入 支付宝appId
          </span>
        </div>
        <div class="form-group">
          <label class="col-sm-2 control-label">支付宝签名算法</label>
          <div class="col-sm-4">
            <input type="text" class="form-control" placeholder="请输入 支付宝签名算法" v-model="alipaySignType">
          </div>
          <span class="col-sm-6 help-block">
            商户生成签名字符串所使用的签名算法类型，目前支持RSA2和RSA，推荐使用RSA2 <a target="_blank" href="https://docs.open.alipay.com/291/105971/">签名生成教程</a>
          </span>
        </div>
        <!-- local private key -->
        <div class="form-group">
          <label class="col-sm-2 control-label">支付宝应用公钥</label>
          <div class="col-sm-4">
            <textarea placeholder="填写支付宝管理页面设置的应用公钥" class="form-control" rows="4"  v-model="alipayPublicKey"></textarea>
          </div>
          <span class="col-sm-6 help-block">
            填写支付宝管理页面设置的应用公钥 <a href="https://docs.open.alipay.com/291/105971/" target="_blank">如何获取支付宝应用公钥</a>
          </span>
        </div>
        <div class="form-group">
          <label class="col-sm-2 control-label">支付宝应用密钥</label>
          <div class="col-sm-4">
            <textarea placeholder="填写支付宝管理页面设置的应用密钥" class="form-control" rows="4" v-model="alipaySecretKey"></textarea>
          </div>
          <span class="col-sm-6 help-block">
            填写支付宝管理页面设置应用密钥 <a href="https://docs.open.alipay.com/291/105971/" target="_blank">如何获取支付宝应用密钥</a>
          </span><commit_msg>fix(admin): 修复后台支付宝原生设置输入框缺省提示有误<commit_after><template>
  <div class="container-fluid" style="margin-top:10px;">
    <div class="panel panel-default">

      <!-- Title -->
      <div class="panel-heading">原生支付设置[微信支付/支付宝]</div>

      <!-- Loading -->
      <div v-if="load.status === 0" class="panel-body text-center">
        <span class="glyphicon glyphicon-refresh component-loadding-icon"></span>
        加载中...
      </div>

      <!-- Body -->
      <div v-else-if="load.status === 1" class="panel-body form-horizontal">
        <blockquote>
          <p>ThinkSNS+增加使用微信支付/支付宝支付</p>
          <footer>服务器必须安装 OpenSSL 的 PHP 拓展。</footer>
          <footer>微信支付通知地址为 <code>/api/v2/wechatPay/notify</code></footer>
          <footer><a href="https://pay.weixin.qq.com/wiki/doc/api/index.html">开发文档</a></footer>
        </blockquote>

        <!-- APP ID -->
        <div class="form-group">
          <label class="col-sm-2 control-label">APPID</label>
          <div class="col-sm-4">
            <input type="text" class="form-control" placeholder="输入 微信公众号APPID" v-model="wechatPayAppId">
          </div>
          <span class="col-sm-6 help-block">
            请输入 微信开放平台审核通过的应用APPID。
          </span>
        </div>

        <!-- Secret Key -->
        <div class="form-group">
          <label class="col-sm-2 control-label">微信公众号APIKEY</label>
          <div class="col-sm-4">
            <input type="text" class="form-control" placeholder="请输入 微信公众号APIKEY" v-model="wechatPayApiKey">
          </div>
          <span class="col-sm-6 help-block">
            输入 微信商户平台API KEY。
          </span>
        </div>

        <!-- Ping++ public key -->
        <div class="form-group">
          <label class="col-sm-2 control-label">微信支付MCHID</label>
          <div class="col-sm-4">
            <input type="text" class="form-control" placeholder="请输入 微信公众号MCHID" v-model="wechatPayMchId">
          </div>
          <span class="col-sm-6 help-block">
            输入 微信商户平台的商户号，为数字
          </span>
        </div>
        <hr />
        <blockquote>
          <p>支付宝支付设置</p>
          <footer>服务器必须安装 OpenSSL 的 PHP 拓展。</footer>
          <footer>支付宝通知地址为 <code>/api/v2/alipay/notify</code></footer>
          <footer><a href="https://docs.open.alipay.com/">开发中心</a></footer>
        </blockquote>
        <div class="form-group">
          <label class="col-sm-2 control-label">支付宝APPId</label>
          <div class="col-sm-4">
            <input type="text" class="form-control" placeholder="请输入支付宝 App ID" v-model="alipayAppid">
          </div>
          <span class="col-sm-6 help-block">
            输入支付宝appId
          </span>
        </div>
        <div class="form-group">
          <label class="col-sm-2 control-label">支付宝签名算法</label>
          <div class="col-sm-4">
            <input type="text" class="form-control" placeholder="请输入 支付宝签名算法" v-model="alipaySignType">
          </div>
          <span class="col-sm-6 help-block">
            商户生成签名字符串所使用的签名算法类型，目前支持RSA2和RSA，推荐使用RSA2 <a target="_blank" href="https://docs.open.alipay.com/291/105971/">签名生成教程</a>
          </span>
        </div>
        <!-- local private key -->
        <div class="form-group">
          <label class="col-sm-2 control-label">支付宝应用公钥</label>
          <div class="col-sm-4">
            <textarea placeholder="填写支付宝管理页面设置的应用公钥" class="form-control" rows="4"  v-model="alipayPublicKey"></textarea>
          </div>
          <span class="col-sm-6 help-block">
            填写支付宝管理页面设置的应用公钥 <a href="https://docs.open.alipay.com/291/105971/" target="_blank">如何获取支付宝应用公钥</a>
          </span>
        </div>
        <div class="form-group">
          <label class="col-sm-2 control-label">支付宝应用密钥</label>
          <div class="col-sm-4">
            <textarea placeholder="填写支付宝管理页面设置的应用密钥" class="form-control" rows="4" v-model="alipaySecretKey"></textarea>
          </div>
          <span class="col-sm-6 help-block">
            填写支付宝管理页面设置应用密钥 <a href="https://docs.open.alipay.com/291/105971/" target="_blank">如何获取支付宝应用密钥</a>
          </span>
{'fraction_non_alphanumeric': 0.17578752316244595, 'fraction_numerical': 0.01432983323038913, 'mean_word_length': 2.1138461538461537, 'pattern_counts': {'":': 0, '<': 235, '<?xml version=': 0, '>': 235, 'https://': 10, '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': '7056605', 'n_tokens_mistral': 3109, 'n_tokens_neox': 3298, 'n_words': 428}