mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-04 12:58:24 +08:00
fix db pool config
This commit is contained in:
parent
305ebb755b
commit
1960db5db0
@ -60,6 +60,11 @@ db:
|
||||
autoBackupIntervalDay: 1
|
||||
# 自动备份保留天数 小于等于 0,不自动删除自动备份数据
|
||||
autoBackupReserveDay: 5
|
||||
# 数据库连接池相关配置
|
||||
maxActive: 100
|
||||
initialSize: 10
|
||||
maxWait: 10
|
||||
minIdle: 1
|
||||
# spring 相关配置
|
||||
spring:
|
||||
h2:
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user