| | |
| | | return;
|
| | | }
|
| | |
|
| | | BusinessSystem system =getSystem(acceptData);
|
| | | BusinessSystem system = getSystem(acceptData);
|
| | | if (system == null) {
|
| | | out.print(JsonUtil.loadFalseResult("系统不存在"));
|
| | | return;
|
| | |
| | | out.print(JsonUtil.loadFalseResult(1, "没有绑定电话号码"));
|
| | | return;
|
| | | }
|
| | |
|
| | | String code = redisManager.getSMSVCode(user.getPhone(), SMSHistory.TYPE_LOGIN);
|
| | | if (code == null || !code.equalsIgnoreCase(vcode)) {
|
| | | out.print(JsonUtil.loadFalseResult(90001, "验证码错误"));
|
| | | return;
|
| | | if (!Constant.IS_TEST) {
|
| | | String code = redisManager.getSMSVCode(user.getPhone(), SMSHistory.TYPE_LOGIN);
|
| | | if (code == null || !code.equalsIgnoreCase(vcode)) {
|
| | | out.print(JsonUtil.loadFalseResult(90001, "验证码错误"));
|
| | | return;
|
| | | }
|
| | | }
|
| | | redisManager.clearSMSFrequencyLimit(user.getPhone(), SMSHistory.TYPE_LOGIN);
|
| | | redisManager.saveBindAlipayAccountSMSState(user.getPhone());
|