liuxiaolong
2019-07-24 e1995f9a80e80fed0f1a258a627426eb37ef6849
add EventPush
2个文件已修改
9379 ■■■■■ 已修改文件
protomsg.pb.go 9343 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
protomsg.proto 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
protomsg.pb.go
Diff too large
protomsg.proto
@@ -227,4 +227,40 @@
    repeated string tableIds = 1;
    bytes faceFeature = 2;
    float compareThreshold = 3;
}
message EventPush {
    string id = 1;
    string name = 2;
    string time_start = 3;
    string time_end = 4;
    bool is_satisfy_all = 5;
    string rule_text = 6;
    bool enable = 7;
    string link_type = 8;
    string link_device = 9;
    repeated PushIpPort ip_ports = 10;
    repeated PushUrl urls = 11;
    repeated EventPushRule rules = 12;
}
message EventPushRule {
    string id = 1;
    string topic_type = 2;
    string topic_arg = 3;
    string operator = 4;
    string operator_type = 5;
    string rule_value = 6;
    string event_push_id = 7;
}
message PushIpPort {
    string server_ip = 1;
    int32 port = 2;
    bool enable = 3;
}
message PushUrl {
    string url = 1;
    bool enable = 2;
}