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