fix
This commit is contained in:
parent
413d2dd735
commit
590f17f8e9
@ -27,8 +27,6 @@
|
||||
-define(METHOD_FEEDBACK_STEP, 16#05).
|
||||
|
||||
-define(METHOD_EVENT, 16#07).
|
||||
%% ai识别的事件上报
|
||||
-define(METHOD_AI_EVENT, 16#08).
|
||||
|
||||
-define(METHOD_PHASE, 16#09).
|
||||
|
||||
|
||||
@ -34,12 +34,24 @@ message EfkaResponse {
|
||||
string message = 3;
|
||||
}
|
||||
|
||||
// 基于pub/sub的机制实现远程调用
|
||||
message TopicMessage {
|
||||
// 不需要响应的,基于pub/sub的机制实现远程调用
|
||||
message Pub {
|
||||
string topic = 1;
|
||||
string content = 2;
|
||||
}
|
||||
|
||||
// 需要响应; 系统内部的调用采用: $sys_前缀
|
||||
message AsyncRequest {
|
||||
string method = 1;
|
||||
string params = 2;
|
||||
}
|
||||
|
||||
message AsyncResponse {
|
||||
string code = 1;
|
||||
string result = 2;
|
||||
string message = 3;
|
||||
}
|
||||
|
||||
// 参数配置
|
||||
message ServiceConfig {
|
||||
string service_id = 1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user