Compare commits

...

2 Commits
v0.0.5 ... main

Author SHA1 Message Date
yanweidong 87734c972f 更新 tpl/logic.go 2025-04-18 12:14:38 +08:00
yanweidong 3b283780ab 更新 tpl/server.go 2025-04-17 23:24:09 +08:00
2 changed files with 2 additions and 2 deletions

View File

@ -47,6 +47,6 @@ var StatusReplyCode = `
return &pb.StatusReply{
Code: 0,
Message: "OK",
Timeseq: time.Now().UnixNano(),
Timeseq: time.Now().UnixMilli(),
}, nil
`

View File

@ -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
}