From 590c075d30a61f9ecb380a908860d6c827526e09 Mon Sep 17 00:00:00 2001
From: panlei <2799247126@qq.com>
Date: 星期四, 22 八月 2019 16:08:24 +0800
Subject: [PATCH] Merge branch 'master' of https://192.168.1.14/r/dbapi

---
 dbpersonApi.go |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/dbpersonApi.go b/dbpersonApi.go
index 53bc1b4..ec27bc3 100644
--- a/dbpersonApi.go
+++ b/dbpersonApi.go
@@ -165,12 +165,18 @@
 		return nil,err
 	}
 	dataBytes, _ := json.Marshal(res.Data)
+
 	var arr []protomsg.Esinfo
 	if err = json.Unmarshal(dataBytes, &arr);err !=nil {
 		return nil,err
 	}
 	for _,ei :=range arr {
-		persons = append(persons,&ei)
+		persons = append(persons,&protomsg.Esinfo{
+			Id: ei.Id,
+			Tableid: ei.Tableid,
+			FaceFeature: ei.FaceFeature,
+			Enable: ei.Enable,
+		})
 	}
 	return persons,nil
 }
\ No newline at end of file

--
Gitblit v1.8.0