异常和错误提示修改
parent
a86b0009d9
commit
82aa09433f
|
@ -6,8 +6,9 @@ option optimize_for = SPEED;
|
|||
// 嵌套的proto 必须在当前 proto 之前声明
|
||||
|
||||
message ErrorResponse{
|
||||
optional int32 errCode =1 ; // 错误码,默认为0
|
||||
optional int32 errCode =1 ; // 错误码,默认为0,-1 读errMSg ,其他的读配置
|
||||
optional string errMsg =2 ; // 错误信息
|
||||
repeated string errParams =3; //错误参数
|
||||
}
|
||||
|
||||
message Player{
|
||||
|
|
Loading…
Reference in New Issue