feat(onpoint): fix OP sign

This commit is contained in:
Sinh 2024-04-16 11:39:10 +07:00
parent 82145021a1
commit 76eeabdf7f
1 changed files with 4 additions and 1 deletions

View File

@ -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)