소스 검색

fix param

Jerry 7 년 전
부모
커밋
3d361442b9
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      wechat_params.go

+ 0 - 2
wechat_params.go

@@ -6,7 +6,6 @@ import (
 	"crypto/md5"
 	"crypto/md5"
 	"crypto/sha256"
 	"crypto/sha256"
 	"encoding/hex"
 	"encoding/hex"
-	"log"
 	"strings"
 	"strings"
 )
 )
 
 
@@ -35,7 +34,6 @@ func GetMiniPaySign(appId, nonceStr, prepayId, signType, timeStamp, secretKey st
 
 
 	var hashSign []byte
 	var hashSign []byte
 	if signType == SignType_MD5 {
 	if signType == SignType_MD5 {
-		log.Println("signStr:", signStr)
 		hash := md5.New()
 		hash := md5.New()
 		hash.Write([]byte(signStr))
 		hash.Write([]byte(signStr))
 		hashSign = hash.Sum(nil)
 		hashSign = hash.Sum(nil)