This commit is contained in:
2025-04-21 13:14:50 +08:00
parent f77777a055
commit 48c1e03945
8 changed files with 133 additions and 19 deletions

View File

@@ -3,6 +3,7 @@ package com.ping.study.controller.tx;
import com.ping.study.service.tx.TxSportTokenRefreshService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@@ -14,7 +15,8 @@ public class TokenRefreshController {
private TxSportTokenRefreshService txSportTokenRefreshService;
@RequestMapping("/refresh")
@RequestMapping("/cookie/refresh")
public Boolean refreshToken()
{
return txSportTokenRefreshService.refreshCookies();