Compare commits

..

No commits in common. "785794a948b631cf61650901a2525703b701f1a2" and "567fd3f23723f34ce02b8049ddf0d7a08a69f015" have entirely different histories.

2 changed files with 6 additions and 5 deletions

View File

@ -65,7 +65,7 @@ public class TokenReqVo {
}
/**
* [3]
*
*/
private Boolean checkTimestamp() {
boolean timestampFlag = false;

View File

@ -30,9 +30,10 @@ public class LabourSignetVo {
private String sign;
/**
*
*
*
*/
@NotBlank(message = "推送数据不能为空")
@NotBlank(message = "签名不能为空")
private String data;
/**
@ -67,12 +68,12 @@ public class LabourSignetVo {
}
/**
* [30]
*
*/
public Boolean checkTimestamp() {
boolean timestampFlag = false;
long timePoor = Math.abs(timestamp - System.currentTimeMillis());
if (timePoor < 1000 * 60 * 30) {
if (timePoor < 10000 * 60 * 3) {
timestampFlag = true;
}
return timestampFlag;