mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-08 13:27:46 +00:00
全局异常处理
This commit is contained in:
@@ -27,7 +27,7 @@ public class RemoteUserFallbackFactory implements FallbackFactory<RemoteUserServ
|
||||
@Override
|
||||
public R<LoginUser> getUserInfo(String username)
|
||||
{
|
||||
return null;
|
||||
return R.fail("获取用户失败:" + throwable.getMessage());
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user