diff --git a/zero_buy/api.go b/zero_buy/api.go index 3d9f6bf..1caa21d 100644 --- a/zero_buy/api.go +++ b/zero_buy/api.go @@ -11,9 +11,9 @@ func ZeroBuyUrl(appSecret string, param map[string]string) string { param["deviceID"] = strings.ReplaceAll(param["deviceID"], " ", "") for k, v := range param { if strings.Contains(url, "?") == false { - url += "?" + k + "=" + php2go.URLEncode(v) + url += "?" + k + "=" + v } else { - url += "&" + k + "=" + php2go.URLEncode(v) + url += "&" + k + "=" + v } } sign := GetSign(appSecret, param)