feat:待签名字符串

This commit is contained in:
苏竹红
2025-07-23 12:11:31 +08:00
parent c87aa6ba55
commit 2110c40298

View File

@@ -46,7 +46,7 @@ public class OpenSignatureUtil {
// 3.2 添加固定参数(不参与排序)
sb.append("appkey=").append(appKey)
.append("&timestamp=").append(timestamp);
log.info("待签名字符串:{}", sb);
// 4. 生成签名
return hmacSha256(sb.toString(), appSecret);
}