文档修复

This commit is contained in:
pixel
2019-09-22 17:09:38 +08:00
parent dce64e7079
commit b589452c8c
5 changed files with 29 additions and 16 deletions

View File

@@ -9,17 +9,16 @@ import (
)
type CreateApiParams struct {
AuthorityId uint `json:"-"`
Path string `json:"path"`
Description string `json:"description"`
}
type DeleteApiParams struct {
AuthorityId uint `json:"-"`
Path uint `json:"path"`
}
// @Tags Api
// @Summary 为指定角色创建api
// @Summary 创建基础api
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
@@ -38,7 +37,7 @@ func CreateApi(c *gin.Context) {
}
// @Tags Api
// @Summary 删除指定角色api
// @Summary 删除指定api
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json