zhangzengfei
2023-01-12 22a2a75146214b245fa2bfeacfd998539a8779fa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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");
 
    return true;
}
 
// 加get参数 runType 1: 实时 0 轮询
bool dbapi_get_gb28181_cameras_by_runtype(void *handle, std::vector<protomsg::Camera> & list) {
    const char *topic = DATA_URL_PREFIX("/gb28181/camera/getCamerasByRunType");
 
    return true;
}