You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
383 B
17 lines
383 B
package service
|
|
|
|
import (
|
|
"gin-vue-admin/global"
|
|
"gin-vue-admin/model"
|
|
)
|
|
|
|
// @title Create
|
|
// @description create a workflow, 创建工作流
|
|
// @auth (2020/04/05 20:22)
|
|
// @param wk model.SysWorkflow
|
|
// @return error
|
|
|
|
func Create(wk model.SysWorkflow) error {
|
|
err := global.GVA_DB.Create(&wk).Error
|
|
return err
|
|
}
|