|
@@ -76,6 +76,8 @@ public class MonthQRCodeTaskServiceImpl implements IMonthQRCodeTaskService {
|
|
|
|
|
|
|
|
for (String key : keys) {
|
|
for (String key : keys) {
|
|
|
MonthQRCodeDTO monthQRCodeDTO = redisService.getCacheObject(key);
|
|
MonthQRCodeDTO monthQRCodeDTO = redisService.getCacheObject(key);
|
|
|
|
|
+
|
|
|
|
|
+ // 判断二维码是否在5分钟内生成的,如果是则给第三方处理数据缓冲时间,避免数据处理
|
|
|
if (DateUtils.differentMinutes(monthQRCodeDTO.getCreateTime(), DateUtils.getNowDate()) < 5) {
|
|
if (DateUtils.differentMinutes(monthQRCodeDTO.getCreateTime(), DateUtils.getNowDate()) < 5) {
|
|
|
continue;
|
|
continue;
|
|
|
}
|
|
}
|