Commit 323eefa0 authored by 技术部-任文超's avatar 技术部-任文超

对内部验证接口,追加自动注册功能

parent 554ea1cd
...@@ -1141,6 +1141,9 @@ public class InnerController implements IBaseController { ...@@ -1141,6 +1141,9 @@ public class InnerController implements IBaseController {
}else { }else {
return JsonResult.buildErrorStateResult("校验失败", ""); return JsonResult.buildErrorStateResult("校验失败", "");
} }
if (user == null) {
user = userRegisterService.register(phoneNo, "", null);
}
if (Objects.isNull(user)) { if (Objects.isNull(user)) {
return JsonResult.buildErrorStateResult("用户不存在", ""); return JsonResult.buildErrorStateResult("用户不存在", "");
}else{ }else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment