🐞 fix: 修复bug

This commit is contained in:
AdminWhaleFall
2022-04-16 23:32:49 +08:00
parent c37bb15737
commit 15be73b457
8 changed files with 172 additions and 79 deletions

View File

@@ -4,6 +4,13 @@
<h2>短信接口添加</h2>
<p>替换字符: 手机号<code>[phone]</code> 时间戳<code>[timestamp]</code></p>
{{ super() }}
<input type="button" class="btn btn-primary" value="测试接口">
<input type="text" value="{{ current_app.config.get("TEST_PHONE") }}" id="phone">
<input type="button" class="btn btn-primary" value="测试接口" id="test">
{% endblock %}
{% block tail %}
<div id="error" class="alert alert-danger" style="display: none;">请求错误!</div>
<div id="suc" class="alert alert-success" style="display: none;">请求成功!</div>
<script src="/static/test.js" type="text/javascript"></script>
{% endblock %}