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
324 B

  1. package service
  2. import (
  3. "gin-vue-admin/global"
  4. "gin-vue-admin/model"
  5. )
  6. //@author: [piexlmax](https://github.com/piexlmax)
  7. //@function: Create
  8. //@description: 创建工作流
  9. //@param: wk model.SysWorkflow
  10. //@return: error
  11. func Create(wk model.SysWorkflow) error {
  12. err := global.GVA_DB.Create(&wk).Error
  13. return err
  14. }