@ -24,7 +24,9 @@ public class DynamicDataSource extends AbstractRoutingDataSource {
@Override
protected Object determineCurrentLookupKey() {
return DynamicContextHolder.peek();
String ds = DynamicContextHolder.peek();
logger.info("动态数据源:{}" + ds);
return ds;
}