mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-26 11:51:55 +08: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