modified 增加结构体描述,完善自动化文档

This commit is contained in:
何秀钢
2021-05-11 17:26:06 +08:00
parent 9b758084bf
commit c3ad90dde5
7 changed files with 20 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
// This file was generated by swaggo/swag at
// 2021-04-30 13:57:23.4731221 +0800 CST m=+1.258292701
// 2021-05-11 17:25:23.4731221 +0800 CST m=+1.258292701
package docs
@@ -3396,6 +3396,7 @@ var doc = `{
}
},
"createdAt": {
"description": "创建时间",
"type": "string"
},
"dataAuthorityId": {
@@ -3422,6 +3423,7 @@ var doc = `{
"type": "string"
},
"updatedAt": {
"description": "更新时间",
"type": "string"
}
}
@@ -3696,7 +3698,7 @@ var doc = `{
"type": "integer"
},
"nickName": {
"description": "用户昵称\"",
"description": "用户昵称",
"type": "string"
},
"updatedAt": {
@@ -4105,6 +4107,7 @@ var doc = `{
"$ref": "#/definitions/model.SysAuthority"
},
"oldAuthorityId": {
"description": "旧角色ID",
"type": "string"
}
}

View File

@@ -3379,6 +3379,7 @@
}
},
"createdAt": {
"description": "创建时间",
"type": "string"
},
"dataAuthorityId": {
@@ -3405,6 +3406,7 @@
"type": "string"
},
"updatedAt": {
"description": "更新时间",
"type": "string"
}
}
@@ -3679,7 +3681,7 @@
"type": "integer"
},
"nickName": {
"description": "用户昵称\"",
"description": "用户昵称",
"type": "string"
},
"updatedAt": {
@@ -4088,6 +4090,7 @@
"$ref": "#/definitions/model.SysAuthority"
},
"oldAuthorityId": {
"description": "旧角色ID",
"type": "string"
}
}

View File

@@ -445,6 +445,7 @@ definitions:
$ref: '#/definitions/model.SysAuthority'
type: array
createdAt:
description: 创建时间
type: string
dataAuthorityId:
items:
@@ -463,6 +464,7 @@ definitions:
description: 父角色ID
type: string
updatedAt:
description: 更新时间
type: string
type: object
model.SysBaseMenu:
@@ -661,7 +663,7 @@ definitions:
description: 主键ID
type: integer
nickName:
description: 用户昵称"
description: 用户昵称
type: string
updatedAt:
description: 更新时间
@@ -952,6 +954,7 @@ definitions:
authority:
$ref: '#/definitions/model.SysAuthority'
oldAuthorityId:
description: 旧角色ID
type: string
type: object
info: