From 27f1012d2fecda7bcc3d9f44c5dd4c10a7cf38a4 Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期二, 18 八月 2020 12:13:54 +0800 Subject: [PATCH] add log --- controllers/code.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/controllers/code.go b/controllers/code.go index 5319d49..dbae803 100644 --- a/controllers/code.go +++ b/controllers/code.go @@ -28,7 +28,7 @@ } else { resp.Success= false resp.Status= http.StatusBadRequest - resp.Data= err.Error() + resp.Message= err.Error() } } c.Data["json"] = resp -- Gitblit v1.8.0