浏览代码

更改app支付 package签名

abiao 4 年之前
父节点
当前提交
044c746c8c
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      go/gopath/src/github.com/chanxuehong/wechat/mch/sign.go

+ 1 - 2
go/gopath/src/github.com/chanxuehong/wechat/mch/sign.go

@@ -51,8 +51,7 @@ func Sign(parameters map[string]string, apiKey string, fn func() hash.Hash) stri
 	buf = buf[:0]
 	buf = append(buf, "key="...)
 	buf = append(buf, apiKey...)
-	fmt.Printf("----buf %v", buf)
-	fmt.Printf("----buf %v", buf)
+	fmt.Printf("----bufs %s", buf)
 	h.Write(buf)
 
 	signature := make([]byte, h.Size()*2)