init
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user