方法添加注释,中文版注释

This commit is contained in:
rainyan
2020-04-05 22:23:17 +08:00
parent c755120c8d
commit 13c30d4c55
27 changed files with 457 additions and 150 deletions

View File

@@ -25,7 +25,10 @@ type SysWorkflowStepInfo struct {
IsEnd bool `json:"isEnd"` // 是否是完结流节点
}
//创建工作流
// @title Create
// @description create a workflow, 创建工作流
// @auth 2020/04/05 20:22
// @return error
func (wk *SysWorkflow) Create() error {
err := global.GVA_DB.Create(&wk).Error
return err