From 080afae264fe7ff89a54886f28dff208fe5a06c4 Mon Sep 17 00:00:00 2001 From: chenshijun <csj_sky@126.com> Date: 星期二, 16 四月 2019 22:01:35 +0800 Subject: [PATCH] 整合代码 --- QiaoJiaSystem/DataManagerServer/http_configserver.h | 78 ++++++++++++++++++++++++++++++++++++++- 1 files changed, 76 insertions(+), 2 deletions(-) diff --git a/QiaoJiaSystem/DataManagerServer/http_configserver.h b/QiaoJiaSystem/DataManagerServer/http_configserver.h index 00fff1c..98399e4 100644 --- a/QiaoJiaSystem/DataManagerServer/http_configserver.h +++ b/QiaoJiaSystem/DataManagerServer/http_configserver.h @@ -121,7 +121,7 @@ std::string createDatabase(std::string ip, unsigned int port, std::string content, PResponse &response); /** - * + * 鍒犻櫎鏁版嵁 搴曞簱 * @param ip * @param port * @param content @@ -130,23 +130,97 @@ */ std::string deleteDatabase(std::string ip, unsigned int port, std::string content, PResponse &response); + /*** + * 鏇存柊鏁版嵁 搴曞簱 + * @param ip + * @param port + * @param content + * @param response + * @return + */ std::string updateDatabase(std::string ip, unsigned int port, std::string content, PResponse &response); + /** + * 鏌ヨ鎵�鏈夊悓姝ュ簱 + * @param ip + * @param port + * @param content + * @param response + * @return + */ std::string findAllDatabase(std::string ip, unsigned int port, std::string content, PResponse &response); + /** + * 鏌ヨ鎵�鏈夋湰鍦板簱 + * @param ip + * @param port + * @param content + * @param response + * @return + */ std::string findLocalDatabase(std::string ip, unsigned int port, std::string content, PResponse &response); + /*** + * 涓婁紶浜哄憳 + * @param ip + * @param port + * @param content + * @param response + * @return + */ std::string addPerson(std::string ip, unsigned int port, std::string content, PResponse &response); + //#todo 鎵归噺娣诲姞浜哄憳鍊熷彛 + + /*** + * 鍚戝悓姝ュ簱鎵归噺娣诲姞浜哄憳鍙婃洿鏂颁汉鍛� + * feature_addPersonTracking 鍒嗘敮涓洿鏂板姛鑳藉垎绂讳负鏂板�熷彛 + * @param ip + * @param port + * @param content + * @param response + * @return + */ std::string addPersons(std::string ip, unsigned int port, std::string content, PResponse &response); + /*** + * 鍒ゆ柇鍚屾搴撲腑浜哄憳鏄惁瀛樺湪 + * @param ip + * @param port + * @param content + * @param response + * @return + */ std::string personIsExists(std::string ip, unsigned int port, std::string content, PResponse &response); + /** + * 鏇存柊鍚屾搴撲腑鐨勪汉鍛� + * @param ip + * @param port + * @param content + * @param response + * @return + */ std::string updatePersonByOldId(std::string ip, unsigned int port, std::string content, PResponse &response); - + /** + * 鍒犻櫎浜哄憳 + * @param ip + * @param port + * @param content + * @param response + * @return + */ std::string delPerson(std::string ip, unsigned int port, std::string content, PResponse &response); + /** + * 鍔犺浇鐗瑰緛 + * @param ip + * @param port + * @param content + * @param response + * @return + */ std::string loadFaceFeaData(std::string ip, unsigned int port, std::string content, PResponse &response); -- Gitblit v1.8.0