diff --git a/hw_365/api.go b/hw_365/api.go index 818f29e..8580323 100644 --- a/hw_365/api.go +++ b/hw_365/api.go @@ -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 {