|
@@ -2,7 +2,7 @@ package com.xkl.controller; |
|
@@ -2,7 +2,7 @@ package com.xkl.controller; |
2
|
|
2
|
|
3
|
import com.xkl.authorization.annotation.Authorization;
|
3
|
import com.xkl.authorization.annotation.Authorization;
|
4
|
import com.xkl.authorization.annotation.CurrentUser;
|
4
|
import com.xkl.authorization.annotation.CurrentUser;
|
5
|
-import com.xkl.authorization.manager.TokenManager;
|
5
|
+import com.xkl.authorization.manager.ITokenManager;
|
6
|
import com.xkl.authorization.model.TokenModel;
|
6
|
import com.xkl.authorization.model.TokenModel;
|
7
|
import com.xkl.config.ResultStatus;
|
7
|
import com.xkl.config.ResultStatus;
|
8
|
import com.xkl.domain.User;
|
8
|
import com.xkl.domain.User;
|
|
@@ -31,7 +31,7 @@ public class TokenController { |
|
@@ -31,7 +31,7 @@ public class TokenController { |
31
|
private UserRepository userRepository;
|
31
|
private UserRepository userRepository;
|
32
|
|
32
|
|
33
|
@Autowired
|
33
|
@Autowired
|
34
|
- private TokenManager tokenManager;
|
34
|
+ private ITokenManager tokenManager;
|
35
|
|
35
|
|
36
|
@RequestMapping(method = RequestMethod.POST)
|
36
|
@RequestMapping(method = RequestMethod.POST)
|
37
|
@ApiOperation(value = "登录")
|
37
|
@ApiOperation(value = "登录")
|