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