mirror of
https://gitee.com/dromara/sms4j.git
synced 2025-12-06 08:58:38 +08:00
Compare commits
2 Commits
00b37aae37
...
1a8846c62b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1a8846c62b | ||
|
|
fac931c1fe |
@ -92,6 +92,8 @@ public class UniClient {
|
||||
url = this.endpoint + "?action=" + action + "&accessKeyId=" + this.accessKeyId;
|
||||
} else {
|
||||
Map<String, Object> d = new HashMap<>();
|
||||
d.put("action", action);
|
||||
d.put("accessKeyId", this.accessKeyId);
|
||||
Map<String, Object> signed = sign(d);
|
||||
url = this.endpoint + "?action=" + action + "&accessKeyId=" + this.accessKeyId + "&algorithm=" + signed.get("algorithm") +
|
||||
"×tamp=" + signed.get("timestamp") + "&nonce=" + signed.get("nonce") + "&signature=" + signed.get("signature");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user