Showing
1 changed file
with
1 additions
and
1 deletions
@@ -24,7 +24,7 @@ import org.springframework.web.bind.annotation.RestController; | @@ -24,7 +24,7 @@ import org.springframework.web.bind.annotation.RestController; | ||
24 | * 获取和删除token的请求地址,在Restful设计中其实就对应着登录和退出登录的资源映射 | 24 | * 获取和删除token的请求地址,在Restful设计中其实就对应着登录和退出登录的资源映射 |
25 | */ | 25 | */ |
26 | @RestController | 26 | @RestController |
27 | -@RequestMapping("/login") | 27 | +@RequestMapping("/token") |
28 | public class TokenController { | 28 | public class TokenController { |
29 | 29 | ||
30 | @Autowired | 30 | @Autowired |
-
Please register or login to post a comment