修复登陆后未将相关信息放入缓存的bug

master
huan.xu 4 years ago
parent cb783c3040
commit 9467cc4823
  1. 4
      blockchain-server/blockchain-server-user/src/main/java/com/blockchain/server/user/controller/LoginController.java

@ -168,8 +168,10 @@ public class LoginController {
@ApiOperation(value = LoginApi.PassWorldLoginPC.METHOD_NAME,
notes = LoginApi.PassWorldLoginPC.METHOD_NOTE)
public ResultDTO loginByPasswordPC(@ApiParam(LoginApi.PassWorldLoginPC.METHOD_API_TEL) @RequestParam(name = "tel") String tel,
@ApiParam(LoginApi.PassWorldLoginPC.METHOD_API_PASS) @RequestParam(name = "password") String password) {
@ApiParam(LoginApi.PassWorldLoginPC.METHOD_API_PASS) @RequestParam(name = "password") String password,
HttpServletRequest request) {
UserMain userMain = userLoginService.handleLoginByPassword(tel, password);
dealBindYyyfAccount(userMain.getId(),request);
return handleAfterLogin(userMain, TokenTypeEnums.PC.getValue());
}

Loading…
Cancel
Save