diff --git a/modules/server/src/main/resources/bin/extConfig.yml b/modules/server/src/main/resources/bin/extConfig.yml index e52645ac4..d2e4fba43 100644 --- a/modules/server/src/main/resources/bin/extConfig.yml +++ b/modules/server/src/main/resources/bin/extConfig.yml @@ -60,6 +60,11 @@ db: autoBackupIntervalDay: 1 # 自动备份保留天数 小于等于 0,不自动删除自动备份数据 autoBackupReserveDay: 5 + # 数据库连接池相关配置 + maxActive: 100 + initialSize: 10 + maxWait: 10 + minIdle: 1 # spring 相关配置 spring: h2: diff --git a/modules/server/src/test/java/TestString.java b/modules/server/src/test/java/TestString.java index 23dae72b2..19ae9449d 100644 --- a/modules/server/src/test/java/TestString.java +++ b/modules/server/src/test/java/TestString.java @@ -20,6 +20,7 @@ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +import cn.hutool.core.codec.Base64; import cn.hutool.core.lang.PatternPool; import cn.hutool.core.util.CharsetUtil; import cn.hutool.core.util.RandomUtil; @@ -126,4 +127,10 @@ public class TestString { System.out.println(integerStream.count()); System.out.println(integerStream.count()); } + + @Test + public void testBase64(){ + String encode = Base64.decodeStr("YWJjZA"); + System.out.println(encode); + } }