update README.md.

master
李亚楠 5 years ago committed by Gitee
parent 583eede274
commit ec24e5623f
  1. 8
      README.md

@ -1,11 +1,3 @@
---
title: 基于Springboot实现动态数据源
id: 1939
category: 后端
tags: springboot
toc: true
---
### 实现原理
>Spring内置了一个AbstractRoutingDataSource类,它可以把多个数据源配置成一个Map,然后根据不同的key返回不同的数据源(通过实现抽象方法determineCurrentLookupKey)。

Loading…
Cancel
Save