From 321ca3b7c8c061caef15d7d22b9f71d5f17f169f Mon Sep 17 00:00:00 2001 From: zhangxin Date: Thu, 22 Apr 2021 14:19:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=94=99=E8=AF=AF=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E6=97=B6=E8=BF=94=E5=9B=9E=E9=94=99=E8=AF=AF=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/controllers/snrtab_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/controllers/snrtab_controller.go b/web/controllers/snrtab_controller.go index 2e2b063..de6f6f0 100644 --- a/web/controllers/snrtab_controller.go +++ b/web/controllers/snrtab_controller.go @@ -108,7 +108,7 @@ func InsertSnrtab(ctx iris.Context) { } err := data.Add() if err != nil{ - supports.Error(ctx, iris.StatusBadRequest,"添加失败!", nil) + supports.Error(ctx, iris.StatusBadRequest,"添加失败!error: " + err.Error(), nil) return } supports.Ok(ctx, supports.OptionSuccess, data)