From 88178aed18f9f1a42b8429e500b8431952f87f4d Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期四, 12 一月 2023 17:38:13 +0800 Subject: [PATCH] 添加时间规则接口定义 --- rule.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rule.cpp b/rule.cpp index 12636de..df571c1 100644 --- a/rule.cpp +++ b/rule.cpp @@ -3,8 +3,8 @@ using namespace protomsg; -bool dbapi_get_time_rules(void *handle, protomsg::CameraTimerule & message) { +bool dbapi_get_time_rules(void *handle, vector<protomsg::CameraTimerule> & list) { const char *topic = DATA_URL_PREFIX("/cameraTimerule/findAll"); - return bus_dbapi_get(handle, topic, message); + return true; } -- Gitblit v1.8.0