修改配置
This commit is contained in:
@@ -31,7 +31,7 @@ jdbc:
|
||||
master:
|
||||
username: root
|
||||
password: hfAhyoTu3UKAfmy27/RNKQ==
|
||||
url: jdbc:mysql://www.microfast.com:3317/micro?useUncoide=true&chracterEncoding=utf-8&useSSL=true
|
||||
url: jdbc:mysql://127.0.0.1:3317/micro?useUncoide=true&chracterEncoding=utf-8&useSSL=true
|
||||
driverClass: com.mysql.jdbc.Driver
|
||||
mybatis:
|
||||
typeAliasesPackage: com.lishouyu.pojo
|
||||
|
||||
+2
-2
@@ -2,12 +2,12 @@ spring:
|
||||
session:
|
||||
store-type: none # 暂时不开启session存储
|
||||
datasource:
|
||||
url: jdbc:mysql://www.microfast.com:3317/micro?useUncoide=true&chracterEncoding=utf-8&useSSL=false
|
||||
url: jdbc:mysql://127.0.0.1:3317/micro?useUncoide=true&chracterEncoding=utf-8&useSSL=false
|
||||
username: root
|
||||
password: studyj2e
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
redis:
|
||||
host: www.microfast.com
|
||||
host: z3wg7.natappfree.cc/bim/
|
||||
port: 6379
|
||||
#security:
|
||||
# basic:
|
||||
|
||||
+1
-1
@@ -80,7 +80,7 @@ public class DataSourceMasterConfig {
|
||||
//设置能否重置
|
||||
initParams.put("resetEnable", "false");
|
||||
//deny优先于allow
|
||||
initParams.put("allow", "127.0.0.1,172.17.0.1,www.microfast.com");
|
||||
initParams.put("allow", "127.0.0.1,172.17.0.1,www.microfast.com,3z3wg7.natappfree.cc");
|
||||
//initParams.put("deny","213.122.232.233");
|
||||
if (logger.isInfoEnabled()) {
|
||||
logger.info("micro-fast common druidServletParam使用默认的配置");
|
||||
|
||||
Reference in New Issue
Block a user