|
|
@@ -7,7 +7,7 @@ import ( |
|
|
|
"strings" |
|
|
|
) |
|
|
|
|
|
|
|
func Send(url string, param map[string]string, secret string) string { |
|
|
|
func HwSend(url string, param map[string]string, secret string) string { |
|
|
|
sign := getSign(param, secret) |
|
|
|
param["sign"] = sign |
|
|
|
for k, v := range param { |
|
|
@@ -23,7 +23,7 @@ func Send(url string, param map[string]string, secret string) string { |
|
|
|
return url |
|
|
|
} |
|
|
|
|
|
|
|
func SendOrder(url string, param map[string]string, secret string) string { |
|
|
|
func HwSendOrder(url string, param map[string]string, secret string) string { |
|
|
|
sign := getSign(param, secret) |
|
|
|
param["sign"] = sign |
|
|
|
for k, v := range param { |
|
|
|