From 62f8f9e4ee066ecb562de7969180a07cb3d41f57 Mon Sep 17 00:00:00 2001
From: cheliequan <liequanche@126.com>
Date: 星期二, 17 一月 2023 16:40:22 +0800
Subject: [PATCH] 增加根据protobuf转json函数 template <class T> bool bus_dbapi_get_json( T &list, string &json)

---
 dbapi.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dbapi.h b/dbapi.h
index e2821f5..7bcf746 100644
--- a/dbapi.h
+++ b/dbapi.h
@@ -27,4 +27,6 @@
 bool dbapi_get_polygons(void *handle, std::vector<protomsg::CameraPolygon> &list);
 bool dbapi_get_polygon_relations(void *handle, std::vector<protomsg::CameraPolygonRelation> &list);
 bool dbapi_get_server_get_is_sys_expired(void *handle);
+bool dbapi_get_json_by_cameralist(std::vector<protomsg::Camera> &list, string &json);
+
 #endif

--
Gitblit v1.8.0