工作流重新定义 以及create路由开发

This commit is contained in:
pixel
2019-11-20 15:45:07 +08:00
parent 6008ab01d5
commit a58e3d6801
10 changed files with 319 additions and 28 deletions
+14
View File
@@ -0,0 +1,14 @@
package router
import (
"github.com/gin-gonic/gin"
"main/controller/api"
)
func InitWorkflowRouter(Router *gin.Engine) {
WorkflowRouter := Router.Group("workflow")
//.Use(middleware.JWTAuth())
{
WorkflowRouter.POST("createWorkFlow", api.CreateWorkFlow) // 创建工作流
}
}