|
@@ -5,8 +5,8 @@ import api.common.pojo.constants.DictConstants;
|
|
|
import api.common.pojo.param.sign.SignRefreshParameter;
|
|
|
import api.common.pojo.param.sign.SignSingleParameter;
|
|
|
import api.common.pojo.param.sign.SignUsernameParameter;
|
|
|
-import api.common.pojo.po.system.UserPO;
|
|
|
import api.common.pojo.po.log.LogLoginPO;
|
|
|
+import api.common.pojo.po.system.UserPO;
|
|
|
import api.common.pojo.vo.sign.SimulationTokenVO;
|
|
|
import api.common.pojo.vo.system.UserVO;
|
|
|
import api.common.util.*;
|
|
@@ -21,7 +21,6 @@ import lombok.SneakyThrows;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.http.client.config.RequestConfig;
|
|
|
import org.apache.http.impl.client.CloseableHttpClient;
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.data.redis.core.StringRedisTemplate;
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
@@ -47,14 +46,14 @@ public class SignController {
|
|
|
@Resource
|
|
|
LogLoginMapper logLoginMapper;
|
|
|
|
|
|
- @Autowired
|
|
|
+ @Resource
|
|
|
CloseableHttpClient closeableHttpClient;
|
|
|
- @Autowired
|
|
|
+ @Resource
|
|
|
RequestConfig requestConfig;
|
|
|
- @Autowired
|
|
|
+ @Resource
|
|
|
OauthParameter oauthParameter;
|
|
|
|
|
|
- @Autowired
|
|
|
+ @Resource
|
|
|
StringRedisTemplate redisTemplate;
|
|
|
|
|
|
@RequestMapping("/hello")
|