zhangzengfei
2023-01-13 e783dc858cbf3370c80a46b6bfef6d14580b6764
rule.cpp
@@ -1,6 +1,6 @@
#include "3rdparty/yyjson/yyjson.h"
#include "dbapi.h"
#include "util.h"
#include "3rdparty/yyjson/yyjson.h"
using namespace protomsg;
@@ -8,14 +8,14 @@
    const char *topic = DATA_URL_PREFIX("/cameraTimerule/findAll");   
   bool ret = bus_dbapi_get_list(handle, topic, list);
   return ret;
}
bool dbapi_get_camera_rules(void *handle, std::vector<protomsg::CameraAndRules> & list) {
    const char *topic = DATA_URL_PREFIX("/camera/rule/findAll");
   bool ret = bus_dbapi_get_list(handle, topic, list);
    return true;;
}
    return true;
}