swagger 迎合版本更新修改json 为string

This commit is contained in:
klausY
2019-12-13 14:28:23 +08:00
parent fa6e32cc02
commit e5a3599970
9 changed files with 43 additions and 46 deletions

View File

@@ -11,7 +11,7 @@ import (
// @Summary 注册工作流
// @Produce application/json
// @Param data body sysModel.SysWorkflow true "注册工作流接口"
// @Success 200 {string} json "{"success":true,"data":{},"msg":"注册成功"}"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"注册成功"}"
// @Router /workflow/createWorkFlow [post]
func CreateWorkFlow(c *gin.Context) {
var wk sysModel.SysWorkflow