From be6519a0102240311a51074aedbd2d4c8194b972 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期三, 20 九月 2023 13:33:02 +0800 Subject: [PATCH] 报错文案更改 --- api/v1/task.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/api/v1/task.go b/api/v1/task.go index bbb328d..1e961b8 100644 --- a/api/v1/task.go +++ b/api/v1/task.go @@ -106,7 +106,7 @@ processModel, err := service.NewTaskService().GetProcessParams(procedure, order) if err != nil || processModel == nil || processModel.ParamsMap == nil { - ctx.Fail(ecode.UnknownErr) + ctx.FailWithMsg(ecode.ParamsErr, "璇峰厛閰嶇疆宸ヨ壓鍙傛暟") return } -- Gitblit v1.8.0