From afeeef4af75fbf71a2771fbae43c0638560d3e18 Mon Sep 17 00:00:00 2001 From: shahaibo <1023316923@qq.com> Date: Sat, 4 Jan 2025 21:35:21 +0800 Subject: [PATCH] =?UTF-8?q?TASK:=E8=AF=95=E7=94=A8=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E6=8E=A5=E6=94=B6=E5=90=8D=E5=8D=95=E6=B7=BB=E5=8A=A0;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/ai/da/common/config/MyTaskScheduler.java | 6 ++++++ .../java/com/ai/da/service/impl/AccountServiceImpl.java | 1 + 2 files changed, 7 insertions(+) diff --git a/src/main/java/com/ai/da/common/config/MyTaskScheduler.java b/src/main/java/com/ai/da/common/config/MyTaskScheduler.java index 95c55e9a..7eb5d0d2 100644 --- a/src/main/java/com/ai/da/common/config/MyTaskScheduler.java +++ b/src/main/java/com/ai/da/common/config/MyTaskScheduler.java @@ -140,6 +140,9 @@ public class MyTaskScheduler { SendEmailUtil.sendExcelEmail("calvinwong@aidlab.hk", null, Files.readAllBytes(Paths.get(fileName)), fileName); SendEmailUtil.sendExcelEmail("kaicpang.pang@connect.polyu.hk", null, Files.readAllBytes(Paths.get(fileName)), fileName); SendEmailUtil.sendExcelEmail("kimwong@code-create.com.hk", null, Files.readAllBytes(Paths.get(fileName)), fileName); + SendEmailUtil.sendExcelEmail("ningning@code-create.com.hk", null, Files.readAllBytes(Paths.get(fileName)), fileName); + SendEmailUtil.sendExcelEmail("johnnyho@code-create.com.hk", null, Files.readAllBytes(Paths.get(fileName)), fileName); + SendEmailUtil.sendExcelEmail("ringolau@code-create.com.hk", null, Files.readAllBytes(Paths.get(fileName)), fileName); } } catch (IOException e) { e.printStackTrace(); @@ -149,6 +152,9 @@ public class MyTaskScheduler { SendEmailUtil.sendNoExcelEmail("calvinwong@aidlab.hk", null); SendEmailUtil.sendNoExcelEmail("kaicpang.pang@connect.polyu.hk", null); SendEmailUtil.sendNoExcelEmail("kimwong@code-create.com.hk", null); + SendEmailUtil.sendNoExcelEmail("ningning@code-create.com.hk", null); + SendEmailUtil.sendNoExcelEmail("johnnyho@code-create.com.hk", null); + SendEmailUtil.sendNoExcelEmail("ringolau@code-create.com.hk", null); } } diff --git a/src/main/java/com/ai/da/service/impl/AccountServiceImpl.java b/src/main/java/com/ai/da/service/impl/AccountServiceImpl.java index 3baf594a..09029be7 100644 --- a/src/main/java/com/ai/da/service/impl/AccountServiceImpl.java +++ b/src/main/java/com/ai/da/service/impl/AccountServiceImpl.java @@ -807,6 +807,7 @@ public class AccountServiceImpl extends ServiceImpl impl throw new BusinessException("Machine not registered or machine identification has changed, login free has failed, please contact us at help@aida.com.hk."); } Account account = accountList.get(0); + validateUserValidaExpire(account); AccountLoginVO response = CopyUtil.copyObject(account, AccountLoginVO.class); String token = LocalCacheUtils.getTokenCache(String.valueOf(account.getId())); if (StringUtils.isNotBlank(token)) {