mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-10 20:15:59 +08:00
group rpc
This commit is contained in:
@@ -28,6 +28,10 @@ func SetOperationID(ctx context.Context, operationID string) {
|
||||
ctx.Value(TraceLogKey).(*ApiInfo).OperationID = operationID
|
||||
}
|
||||
|
||||
func GetOperationID(ctx context.Context) string {
|
||||
return ctx.Value(TraceLogKey).(*ApiInfo).OperationID
|
||||
}
|
||||
|
||||
func ShowLog(ctx context.Context) {
|
||||
t := ctx.Value(TraceLogKey).(*ApiInfo)
|
||||
if ctx.Value(TraceLogKey).(*ApiInfo).GinCtx != nil {
|
||||
|
||||
Reference in New Issue
Block a user