From 7aa2c6f8eda9f68ca11a3854a1b2a9d69730d6e7 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期二, 20 八月 2019 14:41:34 +0800
Subject: [PATCH] fix arg

---
 controllers/dbtableperson.go |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/controllers/dbtableperson.go b/controllers/dbtableperson.go
index 3278f61..9afabe9 100644
--- a/controllers/dbtableperson.go
+++ b/controllers/dbtableperson.go
@@ -206,6 +206,10 @@
 	if reqBody["tableId"] != nil {
 		tableId = reqBody["tableId"].(string)
 	}
+	if tableId == "" {
+		util.ResponseFormat(c,code.RequestParamError,"鍙傛暟鏈夎锛屽簳搴搃d涓嶈兘涓虹┖")
+		return
+	}
 	orderName := "id"
 	if reqBody["orderName"] != nil {
 		orderName = reqBody["orderName"].(string)

--
Gitblit v1.8.0