Skip to content

Commit

Permalink
fix alipay sign error
Browse files Browse the repository at this point in the history
  • Loading branch information
iGoogle-ink committed Sep 29, 2019
1 parent 5b7444d commit 6387969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func (bm BodyMap) EncodeAliPaySignParams() string {
buf.WriteString(bm.Get(k))
buf.WriteByte('&')
}
return buf.String()[:buf.Len()]
return buf.String()[:buf.Len()-1]
}

//HttpAgent
Expand Down

0 comments on commit 6387969

Please sign in to comment.