工作流重新定义 以及create路由开发
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
|
||||
// This file was generated by swaggo/swag at
|
||||
// 2019-10-26 23:18:53.1133875 +0800 CST m=+0.203566501
|
||||
// 2019-11-20 10:46:22.2795763 +0800 CST m=+0.053896201
|
||||
|
||||
package docs
|
||||
|
||||
@@ -1042,6 +1042,37 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/workflow/createWorkFlow": {
|
||||
"post": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"workflow"
|
||||
],
|
||||
"summary": "注册工作流",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "注册工作流接口",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/dbModel.Workflow"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"注册成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
@@ -1220,6 +1251,59 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"dbModel.Workflow": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"workflowDescription": {
|
||||
"description": "工作流描述",
|
||||
"type": "string"
|
||||
},
|
||||
"workflowName": {
|
||||
"description": "工作流英文id",
|
||||
"type": "string"
|
||||
},
|
||||
"workflowNickName": {
|
||||
"description": "工作流名称",
|
||||
"type": "string"
|
||||
},
|
||||
"workflowStep": {
|
||||
"description": "工作流步骤",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/dbModel.WorkflowStepInfo"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"dbModel.WorkflowStepInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"isEnd": {
|
||||
"description": "是否是完结流节点",
|
||||
"type": "boolean"
|
||||
},
|
||||
"isStrat": {
|
||||
"description": "是否是开始流节点",
|
||||
"type": "boolean"
|
||||
},
|
||||
"stepAuthorityID": {
|
||||
"description": "操作者级别id",
|
||||
"type": "string"
|
||||
},
|
||||
"stepName": {
|
||||
"description": "工作流名称",
|
||||
"type": "string"
|
||||
},
|
||||
"stepNo": {
|
||||
"description": "步骤id (第几步)",
|
||||
"type": "number"
|
||||
},
|
||||
"workflowID": {
|
||||
"description": "所属工作流ID",
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"modelInterface.PageInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
Reference in New Issue
Block a user