mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-05 09:36:00 +08:00
api to rpc
This commit is contained in:
@@ -33,6 +33,7 @@ func GinParseOperationID(c *gin.Context) {
|
||||
}
|
||||
c.Request.Body = ioutil.NopCloser(bytes.NewReader(body))
|
||||
operationID = req.OperationID
|
||||
c.Request.Header.Set("operationID", operationID)
|
||||
}
|
||||
c.Set("operationID", operationID)
|
||||
c.Next()
|
||||
|
||||
Reference in New Issue
Block a user