From f08eb62fe19cff6fc72dbfc72dae0519bce82ed7 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期四, 30 七月 2020 10:40:04 +0800
Subject: [PATCH] test static rootPath

---
 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