Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
|
- syntax = "proto2";
- package yl_pb;
-
- //comid = 3
- enum InterpreterOrderState{
- Distributeing = 1; //派发中
- Underway = 2; //进行中
- Rescinded = 3; //已撤销
- Completed = 4; //已完成
- }
-
- //-------------------------------------------消息-------------------------
- //Msg=1 发布翻译管家帮助订单
- message IssueInterpreterOrderReq {
- optional uint32 TLanguage =1; //翻译语言
- optional int32 Scenes =2; //场景
- optional string Desc =3; //描述
- }
-
- //Msg=2 发布翻译管家帮助订单回应
- message IssueInterpreterOrderRes {
- optional int32 ErrorCode = 1; //详见错误码文档
- optional string OrderId =2; //订单号
- optional int32 WaitNum =3; //需要等待人数
- }
-
- //Msg= 3 接收订单消息请求
- message ReceivingInterpreterOrderReq {
- optional string OrderId =1; //订单号
- }
-
- //Msg= 4 接收订单消息回应
- message ReceivingInterpreterOrderRes {
- optional int32 ErrorCode = 1; //详见错误码文档
- }
-
- //Msg= 5 撤销订单消息
- message CancellationInterpreterOrderReq {
- optional string OrderId =1; //订单号
- }
-
- //Msg= 6 撤销订单消息回应
- message CancellationInterpreterOrderRes {
- optional int32 ErrorCode = 1; //详见错误码文档
- optional string OrderId = 2; //订单号
- }
-
- //Msg= 50 派送订单推送
- message DeliveryInterpreterOrderPush {
- optional string OrderId =1; //订单号
- optional int64 CreateTime = 2; //创建时间
- optional uint32 TLanguage =3; //翻译语言
- optional int32 Scenes =4; //场景
- optional string Desc =5; //描述
- }
|