|
@@ -1,5 +1,18 @@
|
|
basePath: /
|
|
basePath: /
|
|
definitions:
|
|
definitions:
|
|
|
|
+ config.AliyunOSS:
|
|
|
|
+ properties:
|
|
|
|
+ accessKeyId:
|
|
|
|
+ type: string
|
|
|
|
+ accessKeySecret:
|
|
|
|
+ type: string
|
|
|
|
+ bucketName:
|
|
|
|
+ type: string
|
|
|
|
+ bucketUrl:
|
|
|
|
+ type: string
|
|
|
|
+ endpoint:
|
|
|
|
+ type: string
|
|
|
|
+ type: object
|
|
config.Captcha:
|
|
config.Captcha:
|
|
properties:
|
|
properties:
|
|
imgHeight:
|
|
imgHeight:
|
|
@@ -31,8 +44,17 @@ definitions:
|
|
to:
|
|
to:
|
|
type: string
|
|
type: string
|
|
type: object
|
|
type: object
|
|
|
|
+ config.Excel:
|
|
|
|
+ properties:
|
|
|
|
+ dir:
|
|
|
|
+ type: string
|
|
|
|
+ type: object
|
|
config.JWT:
|
|
config.JWT:
|
|
properties:
|
|
properties:
|
|
|
|
+ bufferTime:
|
|
|
|
+ type: integer
|
|
|
|
+ expiresTime:
|
|
|
|
+ type: integer
|
|
signingKey:
|
|
signingKey:
|
|
type: string
|
|
type: string
|
|
type: object
|
|
type: object
|
|
@@ -49,6 +71,8 @@ definitions:
|
|
type: string
|
|
type: string
|
|
logMode:
|
|
logMode:
|
|
type: boolean
|
|
type: boolean
|
|
|
|
+ logZap:
|
|
|
|
+ type: string
|
|
maxIdleConns:
|
|
maxIdleConns:
|
|
type: integer
|
|
type: integer
|
|
maxOpenConns:
|
|
maxOpenConns:
|
|
@@ -88,6 +112,9 @@ definitions:
|
|
type: object
|
|
type: object
|
|
config.Server:
|
|
config.Server:
|
|
properties:
|
|
properties:
|
|
|
|
+ aliyunOSS:
|
|
|
|
+ $ref: '#/definitions/config.AliyunOSS'
|
|
|
|
+ type: object
|
|
captcha:
|
|
captcha:
|
|
$ref: '#/definitions/config.Captcha'
|
|
$ref: '#/definitions/config.Captcha'
|
|
type: object
|
|
type: object
|
|
@@ -97,6 +124,9 @@ definitions:
|
|
email:
|
|
email:
|
|
$ref: '#/definitions/config.Email'
|
|
$ref: '#/definitions/config.Email'
|
|
type: object
|
|
type: object
|
|
|
|
+ excel:
|
|
|
|
+ $ref: '#/definitions/config.Excel'
|
|
|
|
+ type: object
|
|
jwt:
|
|
jwt:
|
|
$ref: '#/definitions/config.JWT'
|
|
$ref: '#/definitions/config.JWT'
|
|
type: object
|
|
type: object
|
|
@@ -117,6 +147,9 @@ definitions:
|
|
system:
|
|
system:
|
|
$ref: '#/definitions/config.System'
|
|
$ref: '#/definitions/config.System'
|
|
type: object
|
|
type: object
|
|
|
|
+ tencentCOS:
|
|
|
|
+ $ref: '#/definitions/config.TencentCOS'
|
|
|
|
+ type: object
|
|
zap:
|
|
zap:
|
|
$ref: '#/definitions/config.Zap'
|
|
$ref: '#/definitions/config.Zap'
|
|
type: object
|
|
type: object
|
|
@@ -134,6 +167,21 @@ definitions:
|
|
useMultipoint:
|
|
useMultipoint:
|
|
type: boolean
|
|
type: boolean
|
|
type: object
|
|
type: object
|
|
|
|
+ config.TencentCOS:
|
|
|
|
+ properties:
|
|
|
|
+ baseURL:
|
|
|
|
+ type: string
|
|
|
|
+ bucket:
|
|
|
|
+ type: string
|
|
|
|
+ pathPrefix:
|
|
|
|
+ type: string
|
|
|
|
+ region:
|
|
|
|
+ type: string
|
|
|
|
+ secretID:
|
|
|
|
+ type: string
|
|
|
|
+ secretKey:
|
|
|
|
+ type: string
|
|
|
|
+ type: object
|
|
config.Zap:
|
|
config.Zap:
|
|
properties:
|
|
properties:
|
|
director:
|
|
director:
|
|
@@ -155,6 +203,27 @@ definitions:
|
|
stacktraceKey:
|
|
stacktraceKey:
|
|
type: string
|
|
type: string
|
|
type: object
|
|
type: object
|
|
|
|
+ model.AutoCodeStruct:
|
|
|
|
+ properties:
|
|
|
|
+ abbreviation:
|
|
|
|
+ type: string
|
|
|
|
+ autoCreateApiToSql:
|
|
|
|
+ type: boolean
|
|
|
|
+ autoMoveFile:
|
|
|
|
+ type: boolean
|
|
|
|
+ description:
|
|
|
|
+ type: string
|
|
|
|
+ fields:
|
|
|
|
+ items:
|
|
|
|
+ $ref: '#/definitions/model.Field'
|
|
|
|
+ type: array
|
|
|
|
+ packageName:
|
|
|
|
+ type: string
|
|
|
|
+ structName:
|
|
|
|
+ type: string
|
|
|
|
+ tableName:
|
|
|
|
+ type: string
|
|
|
|
+ type: object
|
|
model.ExaCustomer:
|
|
model.ExaCustomer:
|
|
properties:
|
|
properties:
|
|
createdAt:
|
|
createdAt:
|
|
@@ -192,6 +261,38 @@ definitions:
|
|
url:
|
|
url:
|
|
type: string
|
|
type: string
|
|
type: object
|
|
type: object
|
|
|
|
+ model.ExcelInfo:
|
|
|
|
+ properties:
|
|
|
|
+ fileName:
|
|
|
|
+ type: string
|
|
|
|
+ infoList:
|
|
|
|
+ items:
|
|
|
|
+ $ref: '#/definitions/model.SysBaseMenu'
|
|
|
|
+ type: array
|
|
|
|
+ type: object
|
|
|
|
+ model.Field:
|
|
|
|
+ properties:
|
|
|
|
+ columnName:
|
|
|
|
+ type: string
|
|
|
|
+ comment:
|
|
|
|
+ type: string
|
|
|
|
+ dataType:
|
|
|
|
+ type: string
|
|
|
|
+ dataTypeLong:
|
|
|
|
+ type: string
|
|
|
|
+ dictType:
|
|
|
|
+ type: string
|
|
|
|
+ fieldDesc:
|
|
|
|
+ type: string
|
|
|
|
+ fieldJson:
|
|
|
|
+ type: string
|
|
|
|
+ fieldName:
|
|
|
|
+ type: string
|
|
|
|
+ fieldSearchType:
|
|
|
|
+ type: string
|
|
|
|
+ fieldType:
|
|
|
|
+ type: string
|
|
|
|
+ type: object
|
|
model.SysApi:
|
|
model.SysApi:
|
|
properties:
|
|
properties:
|
|
apiGroup:
|
|
apiGroup:
|
|
@@ -225,6 +326,8 @@ definitions:
|
|
items:
|
|
items:
|
|
$ref: '#/definitions/model.SysAuthority'
|
|
$ref: '#/definitions/model.SysAuthority'
|
|
type: array
|
|
type: array
|
|
|
|
+ defaultRouter:
|
|
|
|
+ type: string
|
|
deletedAt:
|
|
deletedAt:
|
|
type: string
|
|
type: string
|
|
menus:
|
|
menus:
|
|
@@ -246,6 +349,8 @@ definitions:
|
|
items:
|
|
items:
|
|
$ref: '#/definitions/model.SysBaseMenu'
|
|
$ref: '#/definitions/model.SysBaseMenu'
|
|
type: array
|
|
type: array
|
|
|
|
+ closeTab:
|
|
|
|
+ type: boolean
|
|
component:
|
|
component:
|
|
type: string
|
|
type: string
|
|
createdAt:
|
|
createdAt:
|
|
@@ -388,61 +493,170 @@ definitions:
|
|
uuid:
|
|
uuid:
|
|
type: string
|
|
type: string
|
|
type: object
|
|
type: object
|
|
- model.SysWorkflow:
|
|
|
|
|
|
+ model.System:
|
|
properties:
|
|
properties:
|
|
|
|
+ config:
|
|
|
|
+ $ref: '#/definitions/config.Server'
|
|
|
|
+ type: object
|
|
|
|
+ type: object
|
|
|
|
+ model.WorkflowEdge:
|
|
|
|
+ properties:
|
|
|
|
+ clazz:
|
|
|
|
+ type: string
|
|
|
|
+ conditionExpression:
|
|
|
|
+ type: string
|
|
createdAt:
|
|
createdAt:
|
|
type: string
|
|
type: string
|
|
|
|
+ description:
|
|
|
|
+ type: string
|
|
|
|
+ endPoint:
|
|
|
|
+ $ref: '#/definitions/model.WorkflowEndPoint'
|
|
|
|
+ description: 终点信息
|
|
|
|
+ type: object
|
|
|
|
+ hideIcon:
|
|
|
|
+ type: boolean
|
|
id:
|
|
id:
|
|
- type: integer
|
|
|
|
- updatedAt:
|
|
|
|
type: string
|
|
type: string
|
|
- workflowDescription:
|
|
|
|
- description: 工作流描述
|
|
|
|
|
|
+ label:
|
|
type: string
|
|
type: string
|
|
- workflowName:
|
|
|
|
- description: 工作流英文id
|
|
|
|
|
|
+ reverse:
|
|
|
|
+ type: boolean
|
|
|
|
+ seq:
|
|
type: string
|
|
type: string
|
|
- workflowNickName:
|
|
|
|
- description: 工作流名称
|
|
|
|
|
|
+ shape:
|
|
|
|
+ type: string
|
|
|
|
+ source:
|
|
|
|
+ type: string
|
|
|
|
+ sourceAnchor:
|
|
|
|
+ type: integer
|
|
|
|
+ startPoint:
|
|
|
|
+ $ref: '#/definitions/model.WorkflowStartPoint'
|
|
|
|
+ description: 起点信息
|
|
|
|
+ type: object
|
|
|
|
+ target:
|
|
|
|
+ type: string
|
|
|
|
+ targetAnchor:
|
|
|
|
+ type: integer
|
|
|
|
+ updatedAt:
|
|
type: string
|
|
type: string
|
|
- workflowStep:
|
|
|
|
- description: 工作流步骤
|
|
|
|
- items:
|
|
|
|
- $ref: '#/definitions/model.SysWorkflowStepInfo'
|
|
|
|
- type: array
|
|
|
|
type: object
|
|
type: object
|
|
- model.SysWorkflowStepInfo:
|
|
|
|
|
|
+ model.WorkflowEndPoint:
|
|
properties:
|
|
properties:
|
|
createdAt:
|
|
createdAt:
|
|
type: string
|
|
type: string
|
|
id:
|
|
id:
|
|
type: integer
|
|
type: integer
|
|
- isEnd:
|
|
|
|
- description: 是否是完结流节点
|
|
|
|
|
|
+ index:
|
|
|
|
+ type: integer
|
|
|
|
+ updatedAt:
|
|
|
|
+ type: string
|
|
|
|
+ workflowEdgeID:
|
|
|
|
+ type: string
|
|
|
|
+ x:
|
|
|
|
+ type: number
|
|
|
|
+ "y":
|
|
|
|
+ type: number
|
|
|
|
+ type: object
|
|
|
|
+ model.WorkflowNode:
|
|
|
|
+ properties:
|
|
|
|
+ assignType:
|
|
|
|
+ type: string
|
|
|
|
+ assignValue:
|
|
|
|
+ type: string
|
|
|
|
+ clazz:
|
|
|
|
+ type: string
|
|
|
|
+ content:
|
|
|
|
+ type: string
|
|
|
|
+ createdAt:
|
|
|
|
+ type: string
|
|
|
|
+ cycle:
|
|
|
|
+ type: string
|
|
|
|
+ description:
|
|
|
|
+ type: string
|
|
|
|
+ dueDate:
|
|
|
|
+ type: string
|
|
|
|
+ duration:
|
|
|
|
+ type: string
|
|
|
|
+ hideIcon:
|
|
type: boolean
|
|
type: boolean
|
|
- isStart:
|
|
|
|
- description: 是否是开始流节点
|
|
|
|
|
|
+ id:
|
|
|
|
+ type: string
|
|
|
|
+ label:
|
|
|
|
+ type: string
|
|
|
|
+ shape:
|
|
|
|
+ type: string
|
|
|
|
+ stateValue:
|
|
|
|
+ type: string
|
|
|
|
+ subject:
|
|
|
|
+ type: string
|
|
|
|
+ success:
|
|
type: boolean
|
|
type: boolean
|
|
- stepAuthorityID:
|
|
|
|
- description: 操作者级别id
|
|
|
|
|
|
+ to:
|
|
type: string
|
|
type: string
|
|
- stepName:
|
|
|
|
- description: 工作流名称
|
|
|
|
|
|
+ type:
|
|
|
|
+ type: string
|
|
|
|
+ updatedAt:
|
|
|
|
+ type: string
|
|
|
|
+ view:
|
|
type: string
|
|
type: string
|
|
- stepNo:
|
|
|
|
- description: 步骤id (第几步)
|
|
|
|
|
|
+ waitState:
|
|
|
|
+ type: string
|
|
|
|
+ workflowProcessID:
|
|
|
|
+ type: string
|
|
|
|
+ x:
|
|
type: number
|
|
type: number
|
|
|
|
+ "y":
|
|
|
|
+ type: number
|
|
|
|
+ type: object
|
|
|
|
+ model.WorkflowProcess:
|
|
|
|
+ properties:
|
|
|
|
+ category:
|
|
|
|
+ type: string
|
|
|
|
+ clazz:
|
|
|
|
+ type: string
|
|
|
|
+ createdAt:
|
|
|
|
+ type: string
|
|
|
|
+ description:
|
|
|
|
+ type: string
|
|
|
|
+ edges:
|
|
|
|
+ description: 流程链接数据
|
|
|
|
+ items:
|
|
|
|
+ $ref: '#/definitions/model.WorkflowEdge'
|
|
|
|
+ type: array
|
|
|
|
+ hideIcon:
|
|
|
|
+ type: boolean
|
|
|
|
+ id:
|
|
|
|
+ type: string
|
|
|
|
+ label:
|
|
|
|
+ type: string
|
|
|
|
+ name:
|
|
|
|
+ type: string
|
|
|
|
+ nodes:
|
|
|
|
+ description: 流程节点数据
|
|
|
|
+ items:
|
|
|
|
+ $ref: '#/definitions/model.WorkflowNode'
|
|
|
|
+ type: array
|
|
updatedAt:
|
|
updatedAt:
|
|
type: string
|
|
type: string
|
|
- workflowID:
|
|
|
|
- description: 所属工作流ID
|
|
|
|
- type: integer
|
|
|
|
|
|
+ view:
|
|
|
|
+ type: string
|
|
type: object
|
|
type: object
|
|
- model.System:
|
|
|
|
|
|
+ model.WorkflowStartPoint:
|
|
properties:
|
|
properties:
|
|
- config:
|
|
|
|
- $ref: '#/definitions/config.Server'
|
|
|
|
- type: object
|
|
|
|
|
|
+ createdAt:
|
|
|
|
+ type: string
|
|
|
|
+ id:
|
|
|
|
+ type: integer
|
|
|
|
+ index:
|
|
|
|
+ type: integer
|
|
|
|
+ updatedAt:
|
|
|
|
+ type: string
|
|
|
|
+ workflowEdgeID:
|
|
|
|
+ type: string
|
|
|
|
+ x:
|
|
|
|
+ type: number
|
|
|
|
+ "y":
|
|
|
|
+ type: number
|
|
type: object
|
|
type: object
|
|
request.AddMenuAuthorityInfo:
|
|
request.AddMenuAuthorityInfo:
|
|
properties:
|
|
properties:
|
|
@@ -497,6 +711,22 @@ definitions:
|
|
type: integer
|
|
type: integer
|
|
type: array
|
|
type: array
|
|
type: object
|
|
type: object
|
|
|
|
+ request.InitDB:
|
|
|
|
+ properties:
|
|
|
|
+ dbName:
|
|
|
|
+ type: string
|
|
|
|
+ host:
|
|
|
|
+ type: string
|
|
|
|
+ password:
|
|
|
|
+ type: string
|
|
|
|
+ port:
|
|
|
|
+ type: string
|
|
|
|
+ userName:
|
|
|
|
+ type: string
|
|
|
|
+ required:
|
|
|
|
+ - dbName
|
|
|
|
+ - userName
|
|
|
|
+ type: object
|
|
request.Login:
|
|
request.Login:
|
|
properties:
|
|
properties:
|
|
captcha:
|
|
captcha:
|
|
@@ -631,6 +861,43 @@ definitions:
|
|
user_id:
|
|
user_id:
|
|
type: integer
|
|
type: integer
|
|
type: object
|
|
type: object
|
|
|
|
+ request.WorkflowProcessSearch:
|
|
|
|
+ properties:
|
|
|
|
+ category:
|
|
|
|
+ type: string
|
|
|
|
+ clazz:
|
|
|
|
+ type: string
|
|
|
|
+ createdAt:
|
|
|
|
+ type: string
|
|
|
|
+ description:
|
|
|
|
+ type: string
|
|
|
|
+ edges:
|
|
|
|
+ description: 流程链接数据
|
|
|
|
+ items:
|
|
|
|
+ $ref: '#/definitions/model.WorkflowEdge'
|
|
|
|
+ type: array
|
|
|
|
+ hideIcon:
|
|
|
|
+ type: boolean
|
|
|
|
+ id:
|
|
|
|
+ type: string
|
|
|
|
+ label:
|
|
|
|
+ type: string
|
|
|
|
+ name:
|
|
|
|
+ type: string
|
|
|
|
+ nodes:
|
|
|
|
+ description: 流程节点数据
|
|
|
|
+ items:
|
|
|
|
+ $ref: '#/definitions/model.WorkflowNode'
|
|
|
|
+ type: array
|
|
|
|
+ page:
|
|
|
|
+ type: integer
|
|
|
|
+ pageSize:
|
|
|
|
+ type: integer
|
|
|
|
+ updatedAt:
|
|
|
|
+ type: string
|
|
|
|
+ view:
|
|
|
|
+ type: string
|
|
|
|
+ type: object
|
|
response.SysAuthorityCopyResponse:
|
|
response.SysAuthorityCopyResponse:
|
|
properties:
|
|
properties:
|
|
authority:
|
|
authority:
|
|
@@ -919,6 +1186,13 @@ paths:
|
|
post:
|
|
post:
|
|
consumes:
|
|
consumes:
|
|
- application/json
|
|
- application/json
|
|
|
|
+ parameters:
|
|
|
|
+ - description: 创建自动代码
|
|
|
|
+ in: body
|
|
|
|
+ name: data
|
|
|
|
+ required: true
|
|
|
|
+ schema:
|
|
|
|
+ $ref: '#/definitions/model.AutoCodeStruct'
|
|
produces:
|
|
produces:
|
|
- application/json
|
|
- application/json
|
|
responses:
|
|
responses:
|
|
@@ -979,6 +1253,29 @@ paths:
|
|
summary: 获取当前数据库所有表
|
|
summary: 获取当前数据库所有表
|
|
tags:
|
|
tags:
|
|
- AutoCode
|
|
- AutoCode
|
|
|
|
+ /autoCode/preview:
|
|
|
|
+ post:
|
|
|
|
+ consumes:
|
|
|
|
+ - application/json
|
|
|
|
+ parameters:
|
|
|
|
+ - description: 预览创建代码
|
|
|
|
+ in: body
|
|
|
|
+ name: data
|
|
|
|
+ required: true
|
|
|
|
+ schema:
|
|
|
|
+ $ref: '#/definitions/model.AutoCodeStruct'
|
|
|
|
+ produces:
|
|
|
|
+ - application/json
|
|
|
|
+ responses:
|
|
|
|
+ "200":
|
|
|
|
+ description: '{"success":true,"data":{},"msg":"创建成功"}'
|
|
|
|
+ schema:
|
|
|
|
+ type: string
|
|
|
|
+ security:
|
|
|
|
+ - ApiKeyAuth: []
|
|
|
|
+ summary: 预览创建后的代码
|
|
|
|
+ tags:
|
|
|
|
+ - AutoCode
|
|
/base/captcha:
|
|
/base/captcha:
|
|
post:
|
|
post:
|
|
consumes:
|
|
consumes:
|
|
@@ -1186,6 +1483,83 @@ paths:
|
|
summary: 发送测试邮件
|
|
summary: 发送测试邮件
|
|
tags:
|
|
tags:
|
|
- System
|
|
- System
|
|
|
|
+ /excel/downloadTemplate:
|
|
|
|
+ get:
|
|
|
|
+ consumes:
|
|
|
|
+ - multipart/form-data
|
|
|
|
+ parameters:
|
|
|
|
+ - description: 模板名称
|
|
|
|
+ in: query
|
|
|
|
+ name: fileName
|
|
|
|
+ required: true
|
|
|
|
+ type: string
|
|
|
|
+ produces:
|
|
|
|
+ - application/json
|
|
|
|
+ responses:
|
|
|
|
+ "200":
|
|
|
|
+ description: ""
|
|
|
|
+ security:
|
|
|
|
+ - ApiKeyAuth: []
|
|
|
|
+ summary: 下载模板
|
|
|
|
+ tags:
|
|
|
|
+ - excel
|
|
|
|
+ /excel/exportExcel:
|
|
|
|
+ post:
|
|
|
|
+ consumes:
|
|
|
|
+ - application/json
|
|
|
|
+ parameters:
|
|
|
|
+ - description: 导出Excel文件信息
|
|
|
|
+ in: body
|
|
|
|
+ name: data
|
|
|
|
+ required: true
|
|
|
|
+ schema:
|
|
|
|
+ $ref: '#/definitions/model.ExcelInfo'
|
|
|
|
+ produces:
|
|
|
|
+ - application/octet-stream
|
|
|
|
+ responses:
|
|
|
|
+ "200":
|
|
|
|
+ description: ""
|
|
|
|
+ security:
|
|
|
|
+ - ApiKeyAuth: []
|
|
|
|
+ summary: 导出Excel
|
|
|
|
+ tags:
|
|
|
|
+ - excel
|
|
|
|
+ /excel/importExcel:
|
|
|
|
+ post:
|
|
|
|
+ consumes:
|
|
|
|
+ - multipart/form-data
|
|
|
|
+ parameters:
|
|
|
|
+ - description: 导入Excel文件
|
|
|
|
+ in: formData
|
|
|
|
+ name: file
|
|
|
|
+ required: true
|
|
|
|
+ type: file
|
|
|
|
+ produces:
|
|
|
|
+ - application/json
|
|
|
|
+ responses:
|
|
|
|
+ "200":
|
|
|
|
+ description: '{"success":true,"data":{},"msg":"导入成功"}'
|
|
|
|
+ schema:
|
|
|
|
+ type: string
|
|
|
|
+ security:
|
|
|
|
+ - ApiKeyAuth: []
|
|
|
|
+ summary: 导入Excel文件
|
|
|
|
+ tags:
|
|
|
|
+ - excel
|
|
|
|
+ /excel/loadExcel:
|
|
|
|
+ get:
|
|
|
|
+ produces:
|
|
|
|
+ - application/json
|
|
|
|
+ responses:
|
|
|
|
+ "200":
|
|
|
|
+ description: '{"success":true,"data":{},"msg":"加载数据成功"}'
|
|
|
|
+ schema:
|
|
|
|
+ type: string
|
|
|
|
+ security:
|
|
|
|
+ - ApiKeyAuth: []
|
|
|
|
+ summary: 加载Excel数据
|
|
|
|
+ tags:
|
|
|
|
+ - excel
|
|
/fileUploadAndDownload/breakpointContinue:
|
|
/fileUploadAndDownload/breakpointContinue:
|
|
post:
|
|
post:
|
|
consumes:
|
|
consumes:
|
|
@@ -1318,6 +1692,37 @@ paths:
|
|
summary: 上传文件示例
|
|
summary: 上传文件示例
|
|
tags:
|
|
tags:
|
|
- ExaFileUploadAndDownload
|
|
- ExaFileUploadAndDownload
|
|
|
|
+ /init/checkdb:
|
|
|
|
+ post:
|
|
|
|
+ produces:
|
|
|
|
+ - application/json
|
|
|
|
+ responses:
|
|
|
|
+ "200":
|
|
|
|
+ description: '{"code":0,"data":{},"msg":"探测完成"}'
|
|
|
|
+ schema:
|
|
|
|
+ type: string
|
|
|
|
+ summary: 初始化用户数据库
|
|
|
|
+ tags:
|
|
|
|
+ - CheckDB
|
|
|
|
+ /init/initdb:
|
|
|
|
+ post:
|
|
|
|
+ parameters:
|
|
|
|
+ - description: 初始化数据库参数
|
|
|
|
+ in: body
|
|
|
|
+ name: data
|
|
|
|
+ required: true
|
|
|
|
+ schema:
|
|
|
|
+ $ref: '#/definitions/request.InitDB'
|
|
|
|
+ produces:
|
|
|
|
+ - application/json
|
|
|
|
+ responses:
|
|
|
|
+ "200":
|
|
|
|
+ description: '{"code":0,"data":{},"msg":"自动创建数据库成功"}'
|
|
|
|
+ schema:
|
|
|
|
+ type: string
|
|
|
|
+ summary: 初始化用户数据库
|
|
|
|
+ tags:
|
|
|
|
+ - InitDB
|
|
/jwt/jsonInBlacklist:
|
|
/jwt/jsonInBlacklist:
|
|
post:
|
|
post:
|
|
consumes:
|
|
consumes:
|
|
@@ -1581,6 +1986,12 @@ paths:
|
|
post:
|
|
post:
|
|
consumes:
|
|
consumes:
|
|
- multipart/form-data
|
|
- multipart/form-data
|
|
|
|
+ parameters:
|
|
|
|
+ - description: 断点续传插件版示例
|
|
|
|
+ in: formData
|
|
|
|
+ name: file
|
|
|
|
+ required: true
|
|
|
|
+ type: file
|
|
produces:
|
|
produces:
|
|
- application/json
|
|
- application/json
|
|
responses:
|
|
responses:
|
|
@@ -1938,28 +2349,21 @@ paths:
|
|
summary: 分页获取SysOperationRecord列表
|
|
summary: 分页获取SysOperationRecord列表
|
|
tags:
|
|
tags:
|
|
- SysOperationRecord
|
|
- SysOperationRecord
|
|
- /system/ReloadSystem:
|
|
|
|
|
|
+ /system/getServerInfo:
|
|
post:
|
|
post:
|
|
- parameters:
|
|
|
|
- - description: 重启系统
|
|
|
|
- in: body
|
|
|
|
- name: data
|
|
|
|
- required: true
|
|
|
|
- schema:
|
|
|
|
- $ref: '#/definitions/model.System'
|
|
|
|
produces:
|
|
produces:
|
|
- application/json
|
|
- application/json
|
|
responses:
|
|
responses:
|
|
"200":
|
|
"200":
|
|
- description: '{"success":true,"data":{},"msg":"重启系统成功"}'
|
|
|
|
|
|
+ description: '{"success":true,"data":{},"msg":"获取成功"}'
|
|
schema:
|
|
schema:
|
|
type: string
|
|
type: string
|
|
security:
|
|
security:
|
|
- ApiKeyAuth: []
|
|
- ApiKeyAuth: []
|
|
- summary: 重启系统
|
|
|
|
|
|
+ summary: 获取服务器信息
|
|
tags:
|
|
tags:
|
|
- System
|
|
- System
|
|
- /system/getServerInfo:
|
|
|
|
|
|
+ /system/getSystemConfig:
|
|
post:
|
|
post:
|
|
produces:
|
|
produces:
|
|
- application/json
|
|
- application/json
|
|
@@ -1970,21 +2374,21 @@ paths:
|
|
type: string
|
|
type: string
|
|
security:
|
|
security:
|
|
- ApiKeyAuth: []
|
|
- ApiKeyAuth: []
|
|
- summary: 获取服务器信息
|
|
|
|
|
|
+ summary: 获取配置文件内容
|
|
tags:
|
|
tags:
|
|
- System
|
|
- System
|
|
- /system/getSystemConfig:
|
|
|
|
|
|
+ /system/reloadSystem:
|
|
post:
|
|
post:
|
|
produces:
|
|
produces:
|
|
- application/json
|
|
- application/json
|
|
responses:
|
|
responses:
|
|
"200":
|
|
"200":
|
|
- description: '{"success":true,"data":{},"msg":"获取成功"}'
|
|
|
|
|
|
+ description: '{"code":0,"data":{},"msg":"重启系统成功"}'
|
|
schema:
|
|
schema:
|
|
type: string
|
|
type: string
|
|
security:
|
|
security:
|
|
- ApiKeyAuth: []
|
|
- ApiKeyAuth: []
|
|
- summary: 获取配置文件内容
|
|
|
|
|
|
+ summary: 重启系统
|
|
tags:
|
|
tags:
|
|
- System
|
|
- System
|
|
/system/setSystemConfig:
|
|
/system/setSystemConfig:
|
|
@@ -2140,25 +2544,254 @@ paths:
|
|
summary: 设置用户信息
|
|
summary: 设置用户信息
|
|
tags:
|
|
tags:
|
|
- SysUser
|
|
- SysUser
|
|
- /workflow/createWorkFlow:
|
|
|
|
|
|
+ /workflowProcess/completeWorkflowMove:
|
|
post:
|
|
post:
|
|
|
|
+ consumes:
|
|
|
|
+ - application/json
|
|
|
|
+ produces:
|
|
|
|
+ - application/json
|
|
|
|
+ responses:
|
|
|
|
+ "200":
|
|
|
|
+ description: '{"success":true,"data":{},"msg":"获取成功"}'
|
|
|
|
+ schema:
|
|
|
|
+ type: string
|
|
|
|
+ security:
|
|
|
|
+ - ApiKeyAuth: []
|
|
|
|
+ summary: 提交工作流
|
|
|
|
+ tags:
|
|
|
|
+ - WorkflowProcess
|
|
|
|
+ /workflowProcess/createWorkflowProcess:
|
|
|
|
+ post:
|
|
|
|
+ consumes:
|
|
|
|
+ - application/json
|
|
parameters:
|
|
parameters:
|
|
- - description: 注册工作流接口
|
|
|
|
|
|
+ - description: 创建WorkflowProcess
|
|
in: body
|
|
in: body
|
|
name: data
|
|
name: data
|
|
required: true
|
|
required: true
|
|
schema:
|
|
schema:
|
|
- $ref: '#/definitions/model.SysWorkflow'
|
|
|
|
|
|
+ $ref: '#/definitions/model.WorkflowProcess'
|
|
produces:
|
|
produces:
|
|
- application/json
|
|
- application/json
|
|
responses:
|
|
responses:
|
|
"200":
|
|
"200":
|
|
- description: '{"success":true,"data":{},"msg":"注册成功"}'
|
|
|
|
|
|
+ description: '{"success":true,"data":{},"msg":"获取成功"}'
|
|
|
|
+ schema:
|
|
|
|
+ type: string
|
|
|
|
+ security:
|
|
|
|
+ - ApiKeyAuth: []
|
|
|
|
+ summary: 创建WorkflowProcess
|
|
|
|
+ tags:
|
|
|
|
+ - WorkflowProcess
|
|
|
|
+ /workflowProcess/deleteWorkflowProcess:
|
|
|
|
+ delete:
|
|
|
|
+ consumes:
|
|
|
|
+ - application/json
|
|
|
|
+ parameters:
|
|
|
|
+ - description: 删除WorkflowProcess
|
|
|
|
+ in: body
|
|
|
|
+ name: data
|
|
|
|
+ required: true
|
|
|
|
+ schema:
|
|
|
|
+ $ref: '#/definitions/model.WorkflowProcess'
|
|
|
|
+ produces:
|
|
|
|
+ - application/json
|
|
|
|
+ responses:
|
|
|
|
+ "200":
|
|
|
|
+ description: '{"success":true,"data":{},"msg":"删除成功"}'
|
|
schema:
|
|
schema:
|
|
type: string
|
|
type: string
|
|
- summary: 注册工作流
|
|
|
|
|
|
+ security:
|
|
|
|
+ - ApiKeyAuth: []
|
|
|
|
+ summary: 删除WorkflowProcess
|
|
|
|
+ tags:
|
|
|
|
+ - WorkflowProcess
|
|
|
|
+ /workflowProcess/deleteWorkflowProcessByIds:
|
|
|
|
+ delete:
|
|
|
|
+ consumes:
|
|
|
|
+ - application/json
|
|
|
|
+ parameters:
|
|
|
|
+ - description: 批量删除WorkflowProcess
|
|
|
|
+ in: body
|
|
|
|
+ name: data
|
|
|
|
+ required: true
|
|
|
|
+ schema:
|
|
|
|
+ $ref: '#/definitions/request.IdsReq'
|
|
|
|
+ produces:
|
|
|
|
+ - application/json
|
|
|
|
+ responses:
|
|
|
|
+ "200":
|
|
|
|
+ description: '{"success":true,"data":{},"msg":"删除成功"}'
|
|
|
|
+ schema:
|
|
|
|
+ type: string
|
|
|
|
+ security:
|
|
|
|
+ - ApiKeyAuth: []
|
|
|
|
+ summary: 批量删除WorkflowProcess
|
|
|
|
+ tags:
|
|
|
|
+ - WorkflowProcess
|
|
|
|
+ /workflowProcess/findWorkflowProcess:
|
|
|
|
+ get:
|
|
|
|
+ consumes:
|
|
|
|
+ - application/json
|
|
|
|
+ parameters:
|
|
|
|
+ - description: 用id查询WorkflowProcess
|
|
|
|
+ in: body
|
|
|
|
+ name: data
|
|
|
|
+ required: true
|
|
|
|
+ schema:
|
|
|
|
+ $ref: '#/definitions/model.WorkflowProcess'
|
|
|
|
+ produces:
|
|
|
|
+ - application/json
|
|
|
|
+ responses:
|
|
|
|
+ "200":
|
|
|
|
+ description: '{"success":true,"data":{},"msg":"查询成功"}'
|
|
|
|
+ schema:
|
|
|
|
+ type: string
|
|
|
|
+ security:
|
|
|
|
+ - ApiKeyAuth: []
|
|
|
|
+ summary: 用id查询WorkflowProcess
|
|
|
|
+ tags:
|
|
|
|
+ - WorkflowProcess
|
|
|
|
+ /workflowProcess/findWorkflowStep:
|
|
|
|
+ get:
|
|
|
|
+ consumes:
|
|
|
|
+ - application/json
|
|
|
|
+ parameters:
|
|
|
|
+ - description: 用id查询WorkflowProcess
|
|
|
|
+ in: body
|
|
|
|
+ name: data
|
|
|
|
+ required: true
|
|
|
|
+ schema:
|
|
|
|
+ $ref: '#/definitions/model.WorkflowProcess'
|
|
|
|
+ produces:
|
|
|
|
+ - application/json
|
|
|
|
+ responses:
|
|
|
|
+ "200":
|
|
|
|
+ description: '{"success":true,"data":{},"msg":"查询成功"}'
|
|
|
|
+ schema:
|
|
|
|
+ type: string
|
|
|
|
+ security:
|
|
|
|
+ - ApiKeyAuth: []
|
|
|
|
+ summary: 用id查询工作流步骤
|
|
|
|
+ tags:
|
|
|
|
+ - WorkflowProcess
|
|
|
|
+ /workflowProcess/getMyNeed:
|
|
|
|
+ get:
|
|
|
|
+ consumes:
|
|
|
|
+ - application/json
|
|
|
|
+ produces:
|
|
|
|
+ - application/json
|
|
|
|
+ responses:
|
|
|
|
+ "200":
|
|
|
|
+ description: '{"success":true,"data":{},"msg":"获取成功"}'
|
|
|
|
+ schema:
|
|
|
|
+ type: string
|
|
|
|
+ security:
|
|
|
|
+ - ApiKeyAuth: []
|
|
|
|
+ summary: 我的待办
|
|
|
|
+ tags:
|
|
|
|
+ - WorkflowProcess
|
|
|
|
+ /workflowProcess/getMyStated:
|
|
|
|
+ get:
|
|
|
|
+ consumes:
|
|
|
|
+ - application/json
|
|
|
|
+ produces:
|
|
|
|
+ - application/json
|
|
|
|
+ responses:
|
|
|
|
+ "200":
|
|
|
|
+ description: '{"success":true,"data":{},"msg":"获取成功"}'
|
|
|
|
+ schema:
|
|
|
|
+ type: string
|
|
|
|
+ security:
|
|
|
|
+ - ApiKeyAuth: []
|
|
|
|
+ summary: 我发起的工作流
|
|
|
|
+ tags:
|
|
|
|
+ - WorkflowProcess
|
|
|
|
+ /workflowProcess/getWorkflowMoveByID:
|
|
|
|
+ get:
|
|
|
|
+ consumes:
|
|
|
|
+ - application/json
|
|
|
|
+ parameters:
|
|
|
|
+ - description: 根据id获取当前节点详情和过往
|
|
|
|
+ in: body
|
|
|
|
+ name: data
|
|
|
|
+ required: true
|
|
|
|
+ schema:
|
|
|
|
+ $ref: '#/definitions/request.GetById'
|
|
|
|
+ produces:
|
|
|
|
+ - application/json
|
|
|
|
+ responses:
|
|
|
|
+ "200":
|
|
|
|
+ description: '{"success":true,"data":{},"msg":"获取成功"}'
|
|
|
|
+ schema:
|
|
|
|
+ type: string
|
|
|
|
+ security:
|
|
|
|
+ - ApiKeyAuth: []
|
|
|
|
+ summary: 根据id获取当前节点详情和历史
|
|
|
|
+ tags:
|
|
|
|
+ - WorkflowProcess
|
|
|
|
+ /workflowProcess/getWorkflowProcessList:
|
|
|
|
+ get:
|
|
|
|
+ consumes:
|
|
|
|
+ - application/json
|
|
|
|
+ parameters:
|
|
|
|
+ - description: 分页获取WorkflowProcess列表
|
|
|
|
+ in: body
|
|
|
|
+ name: data
|
|
|
|
+ required: true
|
|
|
|
+ schema:
|
|
|
|
+ $ref: '#/definitions/request.WorkflowProcessSearch'
|
|
|
|
+ produces:
|
|
|
|
+ - application/json
|
|
|
|
+ responses:
|
|
|
|
+ "200":
|
|
|
|
+ description: '{"success":true,"data":{},"msg":"获取成功"}'
|
|
|
|
+ schema:
|
|
|
|
+ type: string
|
|
|
|
+ security:
|
|
|
|
+ - ApiKeyAuth: []
|
|
|
|
+ summary: 分页获取WorkflowProcess列表
|
|
|
|
+ tags:
|
|
|
|
+ - WorkflowProcess
|
|
|
|
+ /workflowProcess/startWorkflow:
|
|
|
|
+ post:
|
|
|
|
+ consumes:
|
|
|
|
+ - application/json
|
|
|
|
+ produces:
|
|
|
|
+ - application/json
|
|
|
|
+ responses:
|
|
|
|
+ "200":
|
|
|
|
+ description: '{"success":true,"data":{},"msg":"获取成功"}'
|
|
|
|
+ schema:
|
|
|
|
+ type: string
|
|
|
|
+ security:
|
|
|
|
+ - ApiKeyAuth: []
|
|
|
|
+ summary: 开启工作流
|
|
|
|
+ tags:
|
|
|
|
+ - WorkflowProcess
|
|
|
|
+ /workflowProcess/updateWorkflowProcess:
|
|
|
|
+ put:
|
|
|
|
+ consumes:
|
|
|
|
+ - application/json
|
|
|
|
+ parameters:
|
|
|
|
+ - description: 更新WorkflowProcess
|
|
|
|
+ in: body
|
|
|
|
+ name: data
|
|
|
|
+ required: true
|
|
|
|
+ schema:
|
|
|
|
+ $ref: '#/definitions/model.WorkflowProcess'
|
|
|
|
+ produces:
|
|
|
|
+ - application/json
|
|
|
|
+ responses:
|
|
|
|
+ "200":
|
|
|
|
+ description: '{"success":true,"data":{},"msg":"更新成功"}'
|
|
|
|
+ schema:
|
|
|
|
+ type: string
|
|
|
|
+ security:
|
|
|
|
+ - ApiKeyAuth: []
|
|
|
|
+ summary: 更新WorkflowProcess
|
|
tags:
|
|
tags:
|
|
- - workflow
|
|
|
|
|
|
+ - WorkflowProcess
|
|
securityDefinitions:
|
|
securityDefinitions:
|
|
ApiKeyAuth:
|
|
ApiKeyAuth:
|
|
in: header
|
|
in: header
|