From 844bd2c00b417982ba504d0e2fef8a605ad8c808 Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期四, 09 七月 2020 17:04:29 +0800 Subject: [PATCH] add ret msg and fix plateNos is nil --- controllers/restriction.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/controllers/restriction.go b/controllers/restriction.go index bfa6110..37ede7b 100644 --- a/controllers/restriction.go +++ b/controllers/restriction.go @@ -32,7 +32,7 @@ } else { resp.Success= false resp.Status= http.StatusBadRequest - resp.Data= nil + resp.Data= "鏁版嵁璇锋眰澶辫触锛岃绋嶅悗閲嶈瘯" } c.Data["json"] = resp c.ServeJSON() -- Gitblit v1.8.0