Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
代替
var hashInBase64 = CryptoJS.enc.Base64.stringify(hash); pm.environment.set("hmacd", hashInBase64);
你应该使用
var hashInHex = CryptoJS.enc.Hex.stringify(hash); pm.environment.set("hmacd", hashInHex);
由于 Poloniex 使用 Hex 编码而不是 Base64 编码作为签名。