文档更新

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
+826 -29
View File
@@ -504,6 +504,33 @@
}
}
},
"/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": [
@@ -531,33 +558,6 @@
}
}
},
"/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": [
@@ -1517,6 +1517,591 @@
}
}
},
"/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": [
@@ -1674,7 +2259,7 @@
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/request.SetUserAuth"
"$ref": "#/definitions/request.GetById"
}
}
],
@@ -1924,6 +2509,12 @@
"accessKey": {
"type": "string"
},
"bucket": {
"type": "string"
},
"imgPath": {
"type": "string"
},
"secretKey": {
"type": "string"
}
@@ -2027,6 +2618,12 @@
"abbreviation": {
"type": "string"
},
"autoCreateApiToSql": {
"type": "boolean"
},
"description": {
"type": "string"
},
"fields": {
"type": "array",
"items": {
@@ -2038,6 +2635,9 @@
},
"structName": {
"type": "string"
},
"tableName": {
"type": "string"
}
}
},
@@ -2085,12 +2685,27 @@
"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"
}
@@ -2201,6 +2816,88 @@
}
}
},
"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": {
@@ -2424,6 +3121,106 @@
}
}
},
"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": {
@@ -2432,7 +3229,7 @@
"$ref": "#/definitions/model.SysAuthority"
},
"oldAuthorityId": {
"type": "integer"
"type": "string"
}
}
}