更新API

This commit is contained in:
Alex Yang
2026-01-25 16:06:59 +08:00
parent 7fe06c35e6
commit bf845c52a5
2 changed files with 4 additions and 4 deletions

View File

@@ -4,13 +4,13 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>DNS Server API 文档</title> <title>DNS Server API 文档</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/4.18.3/swagger-ui.css"> <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/5.17.3/swagger-ui.css">
<link rel="stylesheet" type="text/css" href="css/style.css"> <link rel="stylesheet" type="text/css" href="css/style.css">
</head> </head>
<body> <body>
<div id="swagger-ui"></div> <div id="swagger-ui"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/4.18.3/swagger-ui-bundle.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/5.17.3/swagger-ui-bundle.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/4.18.3/swagger-ui-standalone-preset.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/5.17.3/swagger-ui-standalone-preset.js"></script>
<script src="js/index.js"></script> <script src="js/index.js"></script>
</body> </body>
</html> </html>

View File

@@ -4,7 +4,7 @@
"info": { "info": {
"title": "DNS Server API", "title": "DNS Server API",
"description": "DNS服务器完整API文档包括统计信息、Shield管理、主机管理等功能。", "description": "DNS服务器完整API文档包括统计信息、Shield管理、主机管理等功能。",
"version": "1.2.5", "version": "2.0.0",
"contact": { "contact": {
"name": "DNS Server 支持", "name": "DNS Server 支持",
"email": "support@dnsserver.com" "email": "support@dnsserver.com"