diff --git a/platformapi/wxpayapi/wxpayapi.go b/platformapi/wxpayapi/wxpayapi.go index ae44ff5a..52da1188 100644 --- a/platformapi/wxpayapi/wxpayapi.go +++ b/platformapi/wxpayapi/wxpayapi.go @@ -442,6 +442,7 @@ func (a *API) signParam(signType string, params map[string]interface{}) (sig str sort.Sort(sort.StringSlice(valueList)) valueList = append(valueList, fmt.Sprintf("key=%s", a.appKey)) sig = strings.Join(valueList, "&") + fmt.Println("tetttttttttttttttttttttttttttttttttttttttttt", sig) var binSig []byte if signType == sigTypeSha256 { mac := hmac.New(sha256.New, []byte(a.appKey))