|
@ -112,7 +112,9 @@ func HttpBuildQuery(data map[string]string) string { |
|
|
var query string |
|
|
var query string |
|
|
|
|
|
|
|
|
for _, value := range keySlice { |
|
|
for _, value := range keySlice { |
|
|
query += StringJoin(value, "=", data[value], "&") |
|
|
|
|
|
|
|
|
if data[value] != "" { |
|
|
|
|
|
query += StringJoin(value, "=", data[value], "&") |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return strings.Trim(query, "&") |
|
|
return strings.Trim(query, "&") |
|
|