|
|
|
@@ -106,16 +106,6 @@ public class WxInfoController extends BaseController { |
|
|
|
return new ResultData(ErrorCode.MALL_INFO_NOT_FOUND); |
|
|
|
} |
|
|
|
|
|
|
|
if (true) { |
|
|
|
return new ResultData(ErrorCode.MALL_INFO_NOT_FOUND); |
|
|
|
} |
|
|
|
|
|
|
|
try { |
|
|
|
this.checkLoginUserPhone(buUser, appPlat); |
|
|
|
} catch (Exception e) { |
|
|
|
return new ResultData(ErrorCode.SYS_SERVER_ERROR.getCode(), e.getMessage()); |
|
|
|
} |
|
|
|
|
|
|
|
String session_key = null; |
|
|
|
String openId = null; |
|
|
|
String unionId = null; |
|
|
|
@@ -139,6 +129,12 @@ public class WxInfoController extends BaseController { |
|
|
|
logger.error(e.getMessage(), e); |
|
|
|
return new ResultData(ErrorCode.SESSION_KEY_DECODE_ERR, resultMap); |
|
|
|
} |
|
|
|
|
|
|
|
try { |
|
|
|
this.checkLoginUserPhone(buUser,openId,buUser.getPhone(), appPlat); |
|
|
|
} catch (Exception e) { |
|
|
|
return new ResultData(ErrorCode.SYS_SERVER_ERROR.getCode(), e.getMessage()); |
|
|
|
} |
|
|
|
|
|
|
|
logger.info("登录账号ID(bUserId):" + userId + "openId:" + openId); |
|
|
|
HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest(); |
|
|
|
|