feat: swagger format

This commit is contained in:
Blizzard
2026-02-11 16:22:17 +08:00
parent 112a1f439c
commit 69e59b0e36
14 changed files with 54 additions and 44 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ type LevelConfigApi struct{}
// @Tags 等级配置
// @Summary 添加等级配置
// @Security BearerAuth
// @accept json
// @accept application/json
// @Produce application/json
// @Param data body plantReq.CreateLevelConf true "添加等级配置"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"添加成功"}"
@@ -40,7 +40,7 @@ func (a *LevelConfigApi) AddLevelConfig(c *gin.Context) {
// @Tags 等级配置
// @Summary 修改等级配置
// @Security BearerAuth
// @accept json
// @accept application/json
// @Produce application/json
// @Param data body plantReq.UpdateLevelConf true "修改等级配置"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"修改成功"}"