又一波重构

This commit is contained in:
zhou-hao
2019-10-11 19:31:45 +08:00
parent 0ea5e0a82b
commit 3b586cbbfd
51 changed files with 948 additions and 172 deletions

View File

@@ -13,6 +13,7 @@ public class FluxTestController {
@GetMapping
public Mono<Authentication> getUser() {
return Authentication
.currentReactive()
.switchIfEmpty(Mono.error(UnAuthorizedException::new));