Authored by fangyeqing

MOD:modify interface name

... ... @@ -5,7 +5,7 @@ import com.xkl.authorization.model.TokenModel;
/**
* 对Token进行操作的接口
*/
public interface TokenManager {
public interface ITokenManager {
/**
* 创建一个token关联上指定用户
... ...
... ... @@ -2,7 +2,7 @@ package com.xkl.controller;
import com.xkl.authorization.annotation.Authorization;
import com.xkl.authorization.annotation.CurrentUser;
import com.xkl.authorization.manager.TokenManager;
import com.xkl.authorization.manager.ITokenManager;
import com.xkl.authorization.model.TokenModel;
import com.xkl.config.ResultStatus;
import com.xkl.domain.User;
... ... @@ -31,7 +31,7 @@ public class TokenController {
private UserRepository userRepository;
@Autowired
private TokenManager tokenManager;
private ITokenManager tokenManager;
@RequestMapping(method = RequestMethod.POST)
@ApiOperation(value = "登录")
... ...