feat:江体小程序token续签

This commit is contained in:
xiang
2026-01-15 19:32:47 +08:00
parent cef2662302
commit 934749f5c0

View File

@@ -1,6 +1,8 @@
package com.xiang.app.schedule.jntyzx;
import com.xiang.app.modules.jntyzx.service.IUserTokenInfoService;
import com.xiang.core.quartz.annotation.XxzJob;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
@@ -10,10 +12,14 @@ import org.springframework.stereotype.Component;
*/
@Slf4j
@Component
@RequiredArgsConstructor
public class JtTokenRefreshTask {
private final IUserTokenInfoService userTokenInfoService;
@XxzJob(name = "jtTokenRefreshHandler")
public void handle() {
log.info("【Token】江南体育中心token续期定时任务启动!!!");
log.info("【Token】江南体育中心token续期定时任务启动!!!time:{}", System.currentTimeMillis());
userTokenInfoService.flushToken();
}
}