feat: 拦截器实现/gateway微服务打通
This commit is contained in:
@@ -29,7 +29,7 @@ public class GatewayExceptionHandler implements ErrorWebExceptionHandler {
|
||||
public Mono<Void> handle(ServerWebExchange serverWebExchange, Throwable throwable) {
|
||||
ServerHttpRequest request = serverWebExchange.getRequest();
|
||||
ServerHttpResponse response = serverWebExchange.getResponse();
|
||||
Integer code=200;
|
||||
int code=200;
|
||||
String message="";
|
||||
if(throwable instanceof SaTokenException){
|
||||
code=401;
|
||||
|
Reference in New Issue
Block a user