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:
醉墨居士
2023-11-05 18:36:01 +08:00
committed by GitHub
parent 450fe26cc0
commit a9e590109c
4 changed files with 17 additions and 15 deletions
+3 -1
View File
@@ -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 {