Commit 2e5a73e9 authored by 廖旭伟's avatar 廖旭伟

签名随机数改为6位

parent b1b238e3
...@@ -81,7 +81,7 @@ public class MidSignApiController { ...@@ -81,7 +81,7 @@ public class MidSignApiController {
headerMap.put("body", midReq.getBody()); headerMap.put("body", midReq.getBody());
String timeStamp = System.currentTimeMillis() + ""; String timeStamp = System.currentTimeMillis() + "";
headerMap.put("timeStamp", timeStamp); headerMap.put("timeStamp", timeStamp);
String nonce = RandomUtil.randomNumbers(12); String nonce = RandomUtil.randomNumbers(6);
headerMap.put("nonce", nonce); headerMap.put("nonce", nonce);
headerMap.put("secretKey", secretKey); headerMap.put("secretKey", secretKey);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment