文档更新

This commit is contained in:
pixel
2020-07-07 10:21:17 +08:00
parent 35b507204c
commit 152946ac42
3 changed files with 2171 additions and 77 deletions

View File

@@ -1,6 +1,6 @@
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
// This file was generated by swaggo/swag at
// 2020-04-20 14:50:58.4141704 +0800 CST m=+0.881639701
// 2020-07-07 10:12:31.2264113 +0800 CST m=+0.088765101
package docs
@@ -521,6 +521,33 @@ var doc = `{
}
}
},
"/autoCode/getDatabase": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"SysApi"
],
"summary": "获取当前表所有字段",
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"创建成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/base/captcha": {
"post": {
"security": [
@@ -548,33 +575,6 @@ var doc = `{
}
}
},
"/base/captcha/": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"base"
],
"summary": "生成验证码图片路径",
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/base/login": {
"post": {
"produces": [
@@ -1534,6 +1534,591 @@ var doc = `{
}
}
},
"/sysDictionary/createSysDictionary": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"SysDictionary"
],
"summary": "创建SysDictionary",
"parameters": [
{
"description": "创建SysDictionary",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/model.SysDictionary"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/sysDictionary/deleteSysDictionary": {
"delete": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"SysDictionary"
],
"summary": "删除SysDictionary",
"parameters": [
{
"description": "删除SysDictionary",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/model.SysDictionary"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/sysDictionary/findSysDictionary": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"SysDictionary"
],
"summary": "用id查询SysDictionary",
"parameters": [
{
"description": "用id查询SysDictionary",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/model.SysDictionary"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/sysDictionary/getSysDictionaryList": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"SysDictionary"
],
"summary": "分页获取SysDictionary列表",
"parameters": [
{
"description": "分页获取SysDictionary列表",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/request.SysDictionarySearch"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/sysDictionary/updateSysDictionary": {
"put": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"SysDictionary"
],
"summary": "更新SysDictionary",
"parameters": [
{
"description": "更新SysDictionary",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/model.SysDictionary"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/sysDictionaryDetail/createSysDictionaryDetail": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"SysDictionaryDetail"
],
"summary": "创建SysDictionaryDetail",
"parameters": [
{
"description": "创建SysDictionaryDetail",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/model.SysDictionaryDetail"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/sysDictionaryDetail/deleteSysDictionaryDetail": {
"delete": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"SysDictionaryDetail"
],
"summary": "删除SysDictionaryDetail",
"parameters": [
{
"description": "删除SysDictionaryDetail",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/model.SysDictionaryDetail"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/sysDictionaryDetail/findSysDictionaryDetail": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"SysDictionaryDetail"
],
"summary": "用id查询SysDictionaryDetail",
"parameters": [
{
"description": "用id查询SysDictionaryDetail",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/model.SysDictionaryDetail"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/sysDictionaryDetail/getSysDictionaryDetailList": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"SysDictionaryDetail"
],
"summary": "分页获取SysDictionaryDetail列表",
"parameters": [
{
"description": "分页获取SysDictionaryDetail列表",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/request.SysDictionaryDetailSearch"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/sysDictionaryDetail/updateSysDictionaryDetail": {
"put": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"SysDictionaryDetail"
],
"summary": "更新SysDictionaryDetail",
"parameters": [
{
"description": "更新SysDictionaryDetail",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/model.SysDictionaryDetail"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/sysOperationRecord/createSysOperationRecord": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"SysOperationRecord"
],
"summary": "创建SysOperationRecord",
"parameters": [
{
"description": "创建SysOperationRecord",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/model.SysOperationRecord"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/sysOperationRecord/deleteSysOperationRecord": {
"delete": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"SysOperationRecord"
],
"summary": "删除SysOperationRecord",
"parameters": [
{
"description": "删除SysOperationRecord",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/model.SysOperationRecord"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/sysOperationRecord/findSysOperationRecord": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"SysOperationRecord"
],
"summary": "用id查询SysOperationRecord",
"parameters": [
{
"description": "用id查询SysOperationRecord",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/model.SysOperationRecord"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/sysOperationRecord/getSysOperationRecordList": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"SysOperationRecord"
],
"summary": "分页获取SysOperationRecord列表",
"parameters": [
{
"description": "分页获取SysOperationRecord列表",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/request.SysOperationRecordSearch"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/sysOperationRecord/updateSysOperationRecord": {
"put": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"SysOperationRecord"
],
"summary": "更新SysOperationRecord",
"parameters": [
{
"description": "更新SysOperationRecord",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/model.SysOperationRecord"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/system/ReloadSystem": {
"post": {
"security": [
@@ -1691,7 +2276,7 @@ var doc = `{
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/request.SetUserAuth"
"$ref": "#/definitions/request.GetById"
}
}
],
@@ -1941,6 +2526,12 @@ var doc = `{
"accessKey": {
"type": "string"
},
"bucket": {
"type": "string"
},
"imgPath": {
"type": "string"
},
"secretKey": {
"type": "string"
}
@@ -2044,6 +2635,12 @@ var doc = `{
"abbreviation": {
"type": "string"
},
"autoCreateApiToSql": {
"type": "boolean"
},
"description": {
"type": "string"
},
"fields": {
"type": "array",
"items": {
@@ -2055,6 +2652,9 @@ var doc = `{
},
"structName": {
"type": "string"
},
"tableName": {
"type": "string"
}
}
},
@@ -2102,12 +2702,27 @@ var doc = `{
"columnName": {
"type": "string"
},
"comment": {
"type": "string"
},
"dataType": {
"type": "string"
},
"dataTypeLong": {
"type": "string"
},
"fieldDesc": {
"type": "string"
},
"fieldJson": {
"type": "string"
},
"fieldName": {
"type": "string"
},
"fieldSearchType": {
"type": "string"
},
"fieldType": {
"type": "string"
}
@@ -2218,6 +2833,88 @@ var doc = `{
}
}
},
"model.SysDictionary": {
"type": "object",
"properties": {
"desc": {
"type": "string"
},
"name": {
"type": "string"
},
"status": {
"type": "boolean"
},
"sysDictionaryDetails": {
"type": "array",
"items": {
"$ref": "#/definitions/model.SysDictionaryDetail"
}
},
"type": {
"type": "string"
}
}
},
"model.SysDictionaryDetail": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"sort": {
"type": "integer"
},
"status": {
"type": "boolean"
},
"sysDictionaryID": {
"type": "integer"
},
"value": {
"type": "integer"
}
}
},
"model.SysOperationRecord": {
"type": "object",
"properties": {
"agent": {
"type": "string"
},
"body": {
"type": "string"
},
"error_message": {
"type": "string"
},
"ip": {
"type": "string"
},
"latency": {
"type": "string"
},
"method": {
"type": "string"
},
"path": {
"type": "string"
},
"resp": {
"type": "string"
},
"status": {
"type": "integer"
},
"user": {
"type": "object",
"$ref": "#/definitions/model.SysUser"
},
"user_id": {
"type": "integer"
}
}
},
"model.SysUser": {
"type": "object",
"properties": {
@@ -2441,6 +3138,106 @@ var doc = `{
}
}
},
"request.SysDictionaryDetailSearch": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"page": {
"type": "integer"
},
"pageSize": {
"type": "integer"
},
"sort": {
"type": "integer"
},
"status": {
"type": "boolean"
},
"sysDictionaryID": {
"type": "integer"
},
"value": {
"type": "integer"
}
}
},
"request.SysDictionarySearch": {
"type": "object",
"properties": {
"desc": {
"type": "string"
},
"name": {
"type": "string"
},
"page": {
"type": "integer"
},
"pageSize": {
"type": "integer"
},
"status": {
"type": "boolean"
},
"sysDictionaryDetails": {
"type": "array",
"items": {
"$ref": "#/definitions/model.SysDictionaryDetail"
}
},
"type": {
"type": "string"
}
}
},
"request.SysOperationRecordSearch": {
"type": "object",
"properties": {
"agent": {
"type": "string"
},
"body": {
"type": "string"
},
"error_message": {
"type": "string"
},
"ip": {
"type": "string"
},
"latency": {
"type": "string"
},
"method": {
"type": "string"
},
"page": {
"type": "integer"
},
"pageSize": {
"type": "integer"
},
"path": {
"type": "string"
},
"resp": {
"type": "string"
},
"status": {
"type": "integer"
},
"user": {
"type": "object",
"$ref": "#/definitions/model.SysUser"
},
"user_id": {
"type": "integer"
}
}
},
"response.SysAuthorityCopyResponse": {
"type": "object",
"properties": {
@@ -2449,7 +3246,7 @@ var doc = `{
"$ref": "#/definitions/model.SysAuthority"
},
"oldAuthorityId": {
"type": "integer"
"type": "string"
}
}
}