提交 2f00c3d7 authored 作者: renjiancai's avatar renjiancai

--no commit message

上级 961661c6
......@@ -493,9 +493,9 @@ public class FgPermissionsController {
@GetMapping(value = MemberRequestPath.LOGIN + MemberRequestPath.CODE)
public CallBack<String> loginCode(String phone) throws Exception{
if(!mService.isExistByPhone(null, phone)) {
/* if(!mService.isExistByPhone(null, phone)) {
throw new BaseException(99,"手机号未注册");
}
}*/
String sendTime = phone+"login";
if(redis.get(sendTime) != null) {
throw new BaseException(16,"60s内不能再次发送");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论