saas-smartAi通信协议标准库
gongshangguo
2022-04-12 acf384f3d6653f4696446b113177140f491c4e38
aiotProto/aiot/aiot_business.proto
@@ -93,6 +93,20 @@
    bytes req = 7;
}
// 请求到saas
message SaasReq {
    // 请求的topic url
    string rpcAddr = 1;
    // rpc模块名
    string rpcNode = 2;
    // token
    string authorization = 3;
    // 请求的同步/异步类型
    RequestType syncType = 4;
    // 请求业务参数
    bytes req = 5;
}
// 响应的body体
message BusinessReply {
    // 返回的错误码