fixed
This commit is contained in:
41
admin/public/api_docs/api_list.html
Normal file
41
admin/public/api_docs/api_list.html
Normal file
@@ -0,0 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>接口文档</title>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<style>
|
||||
.txt-lf{text-align: left}
|
||||
</style>
|
||||
<div style="width: 50%;margin: 0 auto;color: red;text-align: center;">
|
||||
<div class="txt-lf">文档说明:</div>
|
||||
<div class="txt-lf">1、如果没有明确说明,提交请求均使用post</div>
|
||||
<div class="txt-lf">2、此接口文档不包含websocket接口</div>
|
||||
<div class="txt-lf">3、接口参数之间使用“/”符号隔开</div>
|
||||
<div class="txt-lf">4、此文档接口测试功能只针对普通post、get接口,不能测试文件上传或文件流</div>
|
||||
<div class="txt-lf">5、功能模块按照颜色分组</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||
<script src="/static/common/js/marked.min.js"></script>
|
||||
<script>
|
||||
|
||||
$(function() {
|
||||
//加载markdown
|
||||
DocObject.markdown_content();
|
||||
});
|
||||
|
||||
let DocObject = {
|
||||
markdown_content(){
|
||||
$('.markdown_content').each(function(k,ele) {
|
||||
$(ele).html(marked.parse($(ele).html()));
|
||||
});
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
</html>
|
||||
Reference in New Issue
Block a user