From 43a25cfe285b11f88a4678cd94b929866b6fedc5 Mon Sep 17 00:00:00 2001
From: pansen <pansen626@sina.com>
Date: 星期六, 26 一月 2019 14:08:02 +0800
Subject: [PATCH] # Type(<scope>): <subject>

---
 QiaoJiaSystem/DataManagerServer/http_configserver.h |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/QiaoJiaSystem/DataManagerServer/http_configserver.h b/QiaoJiaSystem/DataManagerServer/http_configserver.h
index a8b8aa6..b25f94a 100644
--- a/QiaoJiaSystem/DataManagerServer/http_configserver.h
+++ b/QiaoJiaSystem/DataManagerServer/http_configserver.h
@@ -17,6 +17,7 @@
 #include <CurlDownloadImg.hpp>
 #include <basic/util/fastdfs/FastFds.hpp>
 #include <atomic>
+#include <basic/util/curl/HttpRequestWithCrul.hpp>
 #include "../FaceSearchServer/CasiaFaceWrapper/CasiaFaceWrapperN.h"
 #include "AppPipeController.h"
 
@@ -96,6 +97,8 @@
 
     std::string addPerson(std::string ip, unsigned int port, std::string content, PResponse &response);
 
+    std::string updatePerson(std::string ip, unsigned int port, std::string content, PResponse &response);
+
     std::string addPersons(std::string ip, unsigned int port, std::string content, PResponse &response);
 
     std::string personIsExists(std::string ip, unsigned int port, std::string content, PResponse &response);
@@ -133,7 +136,7 @@
     std::string m_cluster_id;
     std::string m_cluster_name;
     std::map<std::string, srsPipeController_s> m_rtmp;
-
+    HttpRequestWithCrul m_requestWithCrul;
 
     ErlangTool::ErlangDbTool *erlangDbTool;
     SqliteFaceEncap m_SqliteFaceEncap;
@@ -182,6 +185,18 @@
     std::vector<std::string> forEachFile(const std::string &dir_name);
 
     qint64 getVideoTime(/*const std::string& videoPath*/std::string &str_tmpTime);
+
+
+    static void uploadServer(devHttpServer_c *t_ptrThis, std::string sendUrl, std::string param);
+
+    void devHttpServer_c::UploadPersonToUserCenter(string &img_url, string &idcard, string &strUUID,
+                                                   string &feature_base64);
+
+    void
+    addPersonMToDB(const string &TableName, const string &img_url, const string &SyncType, const string &feature_base64,
+                   const Features &faceResults, string &idcard, string &strUUID, bool &ret_addPerson) const;
+
+    void getMat(string &img_url, const string &img_base64, cv::Mat &image) const;
 };
 
 #endif

--
Gitblit v1.8.0