This commit is contained in:
xiangheng
2024-10-25 18:44:09 +08:00
parent ec21476f0e
commit e7ddac1307
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ export default defineConfig({
base:'/x_admin/',
title: "x_admin",
description: "x_admin 开发文档",
ignoreDeadLinks: true,
markdown: {
lineNumbers: true
},

View File

@@ -281,7 +281,7 @@ func (c *Controller) ListAccounts(ctx *gin.Context) {
swag init
```
4. 运行程序,然后在浏览器中访问 http://localhost:8080/swagger/index.html 。将看到Swagger 2.0 Api文档如下所示
4. 运行程序,然后在浏览器中访问 [here](http://localhost:8080/swagger/index.html) 。将看到Swagger 2.0 Api文档如下所示
![swagger_index.html](https://raw.githubusercontent.com/swaggo/swag/master/assets/swagger-image.png)