updateuser
This commit is contained in:
@@ -106,7 +106,6 @@ func signParam(signType string, params map[string]interface{}) (sig string) {
|
||||
sort.Sort(sort.StringSlice(valueList))
|
||||
valueList = append(valueList, fmt.Sprintf("key=%s", globals.WxpayAppKey))
|
||||
sig = strings.Join(valueList, "&")
|
||||
fmt.Println("test111111111111111111111111111111111111111111111", sig)
|
||||
var binSig []byte
|
||||
if signType == sigTypeSha256 {
|
||||
mac := hmac.New(sha256.New, []byte(globals.WxpayAppKey))
|
||||
|
||||
Reference in New Issue
Block a user