feat(onpoint): get inventories #17
|
@ -211,7 +211,10 @@ func (c *Client) requestHttpViaNats(data model.CommunicationRequestHttp, res int
|
||||||
}
|
}
|
||||||
qs := ""
|
qs := ""
|
||||||
for k, v := range data.Payload.Query {
|
for k, v := range data.Payload.Query {
|
||||||
qs += "&" + k + "=" + v
|
if qs != "" {
|
||||||
|
qs += "&"
|
||||||
|
}
|
||||||
|
qs += k + "=" + v
|
||||||
}
|
}
|
||||||
now := time.Now().Unix()
|
now := time.Now().Unix()
|
||||||
ts := strconv.FormatInt(now, 10)
|
ts := strconv.FormatInt(now, 10)
|
||||||
|
|
Loading…
Reference in New Issue