Mono<Optional<User>> findById(String userId);. 使用 .switchIfEmpty 或 .defaultIfEmpty 来将empty转换成其它有值的结果。
確定! 回上一頁