|
@@ -506,6 +506,9 @@ public class LoginServiceImpl implements LoginService {
|
|
Long h = (date.getTime() - date.getTime());
|
|
Long h = (date.getTime() - date.getTime());
|
|
//这里如果当前时间大于下午三点会出现负数所以就不推送
|
|
//这里如果当前时间大于下午三点会出现负数所以就不推送
|
|
if (h > 0) {
|
|
if (h > 0) {
|
|
|
|
+ /**
|
|
|
|
+ * 禁止使用Executors
|
|
|
|
+ */
|
|
ScheduledExecutorService executorService = Executors.newSingleThreadScheduledExecutor();
|
|
ScheduledExecutorService executorService = Executors.newSingleThreadScheduledExecutor();
|
|
executorService.schedule(new Runnable() {
|
|
executorService.schedule(new Runnable() {
|
|
@SneakyThrows
|
|
@SneakyThrows
|