Compare commits
2 Commits
b897f0b5c8
...
5466a2881c
Author | SHA1 | Date |
---|---|---|
Sinh | 5466a2881c | |
Sinh | 76eeabdf7f |
|
@ -212,7 +212,10 @@ func (c *Client) requestHttpViaNats(data model.CommunicationRequestHttp, res int
|
|||
}
|
||||
qs := ""
|
||||
for k, v := range data.Payload.Query {
|
||||
qs += "&" + k + "=" + v
|
||||
if qs != "" {
|
||||
qs += "&"
|
||||
}
|
||||
qs += k + "=" + v
|
||||
}
|
||||
now := time.Now().Unix()
|
||||
ts := strconv.FormatInt(now, 10)
|
||||
|
|
Loading…
Reference in New Issue