|
|
@ -84,6 +84,7 @@ public class HighUserServiceImpl implements HighUserService { |
|
|
|
public SessionObject loginAndRegister(LoginPlatform platform,String phone, Long popularizeUserId, Map<String, Object> other,HttpServletRequest request, HttpServletResponse response) throws Exception { |
|
|
|
public SessionObject loginAndRegister(LoginPlatform platform,String phone, Long popularizeUserId, Map<String, Object> other,HttpServletRequest request, HttpServletResponse response) throws Exception { |
|
|
|
// 记录登录信息
|
|
|
|
// 记录登录信息
|
|
|
|
String requestIp = RequestUtils.getRequestIp(); |
|
|
|
String requestIp = RequestUtils.getRequestIp(); |
|
|
|
|
|
|
|
System.out.println(requestIp); |
|
|
|
HighUserLoginLog loginLog = new HighUserLoginLog(); |
|
|
|
HighUserLoginLog loginLog = new HighUserLoginLog(); |
|
|
|
loginLog.setUserPhone(phone); |
|
|
|
loginLog.setUserPhone(phone); |
|
|
|
loginLog.setPlatformCode(platform.getCode()); |
|
|
|
loginLog.setPlatformCode(platform.getCode()); |
|
|
|