Compare commits

...

2 Commits

Author SHA1 Message Date
Sinh 5466a2881c Merge branch 'onpoint-stock-update' into develop 2024-04-16 11:39:15 +07:00
Sinh 76eeabdf7f feat(onpoint): fix OP sign 2024-04-16 11:39:10 +07:00
1 changed files with 4 additions and 1 deletions

View File

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