@@ -26,8 +26,11 @@ public class SignUtils {
return false;
}
Long time = new Date().getTime();
-
- if((Math.abs( time -timestamp)) >1000 * 60 *5){
+ //app获取时间误差
+ if(time < timestamp && timestamp - time > 1000 * 60){
+ return false;
+ }
+ if( time -timestamp >1000 * 60 *5){
return true;