fix: mq https

master v1.0.12
大虾 3 years ago
parent c756ba4ede
commit 3cbcb89ebf

@ -76,7 +76,7 @@ func (c *Client) Pull(r UrlBase) ([]byte, error) {
}
func (c *Client) Ack(r UrlBase, index string, action string) ([]byte, error) {
ack := fmt.Sprintf("%s/%s/ack", http.FormatUrl(r.GetEndPoint(), false), "v2")
ack := fmt.Sprintf("%s/%s/ack", http.FormatUrl(r.GetEndPoint(), true), "v2")
t := getUTCStr()
data := map[string]string{
PTopic: r.GetTopicName(),

Loading…
Cancel
Save