Compare commits

..

No commits in common. "4e0f74e2ed1e2c2307a56969c549c85b1a8569dd" and "5213974d9b4dc35668514c5b6e8136549982ca30" have entirely different histories.

1 changed files with 52 additions and 57 deletions

View File

@ -63,7 +63,6 @@ public class LoginController {
@PostMapping("/users/login")
public GeneralResult<Map<String, Object>> userLogin(@RequestBody LoginModel loginModel,
HttpServletRequest request) {
try {
log.info("开始执行登录请求");
long start;
String account = loginModel.getAccount();
@ -123,10 +122,6 @@ public class LoginController {
log.info("删除Redis耗时{}ms", System.currentTimeMillis() - start);
log.info("登录请求处理完成");
return loginResult;
}catch (Exception e){
log.error("登录异常",e);
return new GeneralResult<>(false,"登录异常:" + e.getMessage());
}
}
/**