提交 387e359a authored 作者: liupengfei's avatar liupengfei

--no commit message

上级 fc218440
......@@ -653,7 +653,7 @@ public class FgPermissionsController {
throw new BaseException("两次密码不一致");
}
String redisCode = redis.get(form.getPhone());
if(redisCode == null || !form.getPhone().equals(redisCode)) {
if(redisCode == null || !form.getCode().equals(redisCode)) {
throw new BaseException("验证码错误");
}
Example example = mService.createExample();
......@@ -690,7 +690,7 @@ public class FgPermissionsController {
} else {
throw new BaseException("短信验证码发送失败");
}
return CallBack.success("发送成功");
return CallBack.success("发送成功"+code);
}
@ApiOperation(value = "发送手机短信 app使用", notes = "0:成功;16:60s内不能再次发送;;18:短信验证码发送失败;")
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论