From 13185dbdab83743f2d86a1291ab0341a1fb7ca47 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期三, 29 七月 2020 17:33:50 +0800
Subject: [PATCH] ret msg
---
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