upd remoteservice

master
冯凯 2023-10-20 09:31:13 +08:00
parent 2a95be0e21
commit 61f3f35363
2 changed files with 3 additions and 0 deletions

View File

@ -45,4 +45,6 @@ public interface RemoteUserService {
@PostMapping("/getEmailCode")
public Result getEmailCode(@RequestParam("email") String email);
}

View File

@ -43,6 +43,7 @@ public class RemoteUserFallbackFactory implements FallbackFactory<RemoteUserServ
public Result getEmailCode(String email) {
return Result.error("获取邮箱验证码失败:" + throwable.getMessage());
}
};
}
}