|
|
@ -54,8 +54,6 @@ public class AdminGlobalDataSourceAspect { |
|
|
|
String dataSourceKey = getDataSource(point); |
|
|
|
if (StringUtils.isNotEmpty(dataSourceKey)) { |
|
|
|
DataSourceManager.setDataSourceKey(dataSourceKey); |
|
|
|
} else { |
|
|
|
DataSourceManager.setDataSourceKey(null); |
|
|
|
} |
|
|
|
}catch (Exception e){ |
|
|
|
throw new BaseException(StrUtil.format("获取数据源错误:{}", e)); |
|
|
|