Browse Source

更新

master
huangjiajun 1 year ago
parent
commit
fa8ce3f4e5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      hw_365/api.go

+ 2
- 2
hw_365/api.go View File

@@ -7,7 +7,7 @@ import (
"strings" "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) sign := getSign(param, secret)
param["sign"] = sign param["sign"] = sign
for k, v := range param { for k, v := range param {
@@ -23,7 +23,7 @@ func Send(url string, param map[string]string, secret string) string {
return url 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) sign := getSign(param, secret)
param["sign"] = sign param["sign"] = sign
for k, v := range param { for k, v := range param {


Loading…
Cancel
Save