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