feat: swagger format
This commit is contained in:
@@ -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":"修改成功"}"
|
||||
|
||||
Reference in New Issue
Block a user