Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
|
87734c972f | |
|
3b283780ab |
|
@ -47,6 +47,6 @@ var StatusReplyCode = `
|
||||||
return &pb.StatusReply{
|
return &pb.StatusReply{
|
||||||
Code: 0,
|
Code: 0,
|
||||||
Message: "OK",
|
Message: "OK",
|
||||||
Timeseq: time.Now().UnixNano(),
|
Timeseq: time.Now().UnixMilli(),
|
||||||
}, nil
|
}, nil
|
||||||
`
|
`
|
||||||
|
|
|
@ -69,7 +69,7 @@ func responseEnvelope(_ context.Context, response proto.Message) (interface{}, e
|
||||||
}
|
}
|
||||||
return map[string]any{
|
return map[string]any{
|
||||||
"code": 0,
|
"code": 0,
|
||||||
"message": string(response.ProtoReflect().Descriptor().Name()),
|
"message": "OK",
|
||||||
"result": response,
|
"result": response,
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue