From 872f0d29a2d3ac9352cf716f9602318d549f2835 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期一, 28 十月 2019 21:05:48 +0800
Subject: [PATCH] fix

---
 dbpersonApi.go |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/dbpersonApi.go b/dbpersonApi.go
index cc54192..43a52a7 100644
--- a/dbpersonApi.go
+++ b/dbpersonApi.go
@@ -214,4 +214,23 @@
 		})
 	}
 	return persons,nil
+}
+
+func (api DbPersonApi) FindLikePersonIds (tableIds  []string,inputValue string) (interface{},error) {
+	url := api.getBasicUrl() + DATA_URL_PREFIX + "/dbperson/findLikePersonIds"
+	client := NewClient()
+	paramBody := map[string]interface{}{
+		"tableIds": tableIds,
+		"inputValue": inputValue,
+	}
+	body,err := client.DoPostRequest(url,CONTENT_TYPE_JSON, paramBody,nil,nil)
+	if err != nil {
+		return nil,err
+	}
+
+	var res Result
+	if err = json.Unmarshal(body, &res); err != nil {
+		return nil,err
+	}
+	return res.Data,nil
 }
\ No newline at end of file

--
Gitblit v1.8.0