Browse Source

feat(all): 百得胜工厂

1 增加百得胜工厂数据对接
pre-production
zhaoqiaobo 2 days ago
parent
commit
2fe1e29e02
  1. 2
      blade-service/logpm-factory-data/logpm-factory-data-paterson/src/main/java/com/logpm/factorydata/paterson/interceptor/FactoryAccountsInterceptor.java

2
blade-service/logpm-factory-data/logpm-factory-data-paterson/src/main/java/com/logpm/factorydata/paterson/interceptor/FactoryAccountsInterceptor.java

@ -104,7 +104,7 @@ public class FactoryAccountsInterceptor implements HandlerInterceptor {
return false;
}
// 将 authTime 转换为时间并与当前时间比较
DateTime authDateTime = DateUtil.date(authTime * 1000); // 将时间戳转换为 DateTime
DateTime authDateTime = DateUtil.date(authTime); // 将时间戳转换为 DateTime
// 将 authTime 转换为时间并与当前时间比较
long timeDifferenceInSeconds = DateUtil.between(authDateTime, currentDate, DateUnit.MS);
if (timeDifferenceInSeconds > authTime1) {

Loading…
Cancel
Save