From c8112d757b901efc582633e49423c81482555ea9 Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期四, 27 六月 2019 15:38:35 +0800 Subject: [PATCH] 动态删除3天之前数据 --- fanli/src/main/java/com/yeshi/fanli/service/impl/push/IOSPushServiceImpl.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/push/IOSPushServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/push/IOSPushServiceImpl.java index 42cec89..5d7bf3e 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/push/IOSPushServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/push/IOSPushServiceImpl.java @@ -328,6 +328,9 @@ */ @Transactional public void addPushIOSQueue(MessageInfo info, String url, int type, String versionCodes) throws PushException { + + if(Constant.IS_TEST) + return; try { -- Gitblit v1.8.0