优化审批流没有正确子节点报错

This commit is contained in:
xiangheng
2024-05-19 13:39:55 +08:00
parent 0edc6a117e
commit 22371123e5
7 changed files with 21 additions and 10 deletions

View File

@@ -164,7 +164,7 @@ func IsFailWithResp(c *gin.Context, err error) bool {
FailWithData(c, v, data)
// 其他类型
default:
Fail(c, SystemError)
Fail(c, SystemError.Make(err.Error()))
}
return true
}