camera.cpp
@@ -54,11 +54,13 @@ #include "dbapi.h" #include "util.h" using namespace protomsg; // 加get参数 runType 1: 实时 0 轮询 bool dbapi_get_cameras_by_runtype(void *handle, std::vector<protomsg::Camera> & list) { const char *topic = DATA_URL_PREFIX("/camera/getCamerasByRunType"); bool ret = bus_dbapi_get_list(handle, topic, list); return ret; } @@ -67,6 +69,6 @@ const char *topic = DATA_URL_PREFIX("/gb28181/camera/getCamerasByRunType"); bool ret = bus_dbapi_get_list(handle, topic, list); return ret; }