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.

15 lines
335 B

  1. package service
  2. import (
  3. "gin-vue-admin/global"
  4. "gin-vue-admin/model"
  5. )
  6. // @title Create
  7. // @description create a workflow, 创建工作流
  8. // @auth (2020/04/05 20:22 )
  9. // @return error
  10. func Create(wk model.SysWorkflow) error {
  11. err := global.GVA_DB.Create(&wk).Error
  12. return err
  13. }