mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-17 15:29:03 +08:00
Details optimization (#1293)
* Details optimization * Optimize the control structure * Optimize the control structure, Fix setting HTTP request setting URL parameter error
This commit is contained in:
@@ -124,7 +124,9 @@ func (c *UserConnContext) GetOperationID() string {
|
||||
}
|
||||
|
||||
func (c *UserConnContext) SetOperationID(operationID string) {
|
||||
c.Req.URL.Query().Set(OperationID, operationID)
|
||||
values := c.Req.URL.Query()
|
||||
values.Set(OperationID, operationID)
|
||||
c.Req.URL.RawQuery = values.Encode()
|
||||
}
|
||||
|
||||
func (c *UserConnContext) GetToken() string {
|
||||
|
||||
Reference in New Issue
Block a user