From 274be55f401ae0db0cfe26af37ccc9bd2d458aac Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期三, 30 十月 2019 15:44:47 +0800
Subject: [PATCH] add StatisticRunInfo

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

diff --git a/dbpersonApi.go b/dbpersonApi.go
index 43a52a7..a05ff92 100644
--- a/dbpersonApi.go
+++ b/dbpersonApi.go
@@ -233,4 +233,24 @@
 		return nil,err
 	}
 	return res.Data,nil
+}
+
+func (api DbPersonApi) JoinDbTable (tableIds  []string,faceFeature string, personPicUrl string) (bool,interface{}) {
+	url := api.getBasicUrl() + DATA_URL_PREFIX + "/dbperson/joinDbTable"
+	client := NewClient()
+	paramBody := map[string]interface{}{
+		"tableIds": tableIds,
+		"faceFeature": faceFeature,
+		"personPicUrl": personPicUrl,
+	}
+	body,err := client.DoPostRequest(url,CONTENT_TYPE_JSON, paramBody,nil,nil)
+	if err != nil {
+		return false,nil
+	}
+
+	var res Result
+	if err = json.Unmarshal(body, &res); err != nil {
+		return false,nil
+	}
+	return res.Success,res.Data
 }
\ No newline at end of file

--
Gitblit v1.8.0