所有配置文件支持多环境

This commit is contained in:
shuzheng 2017-06-12 20:52:21 +08:00
parent 0ae690a15b
commit 9e9860a9a6
89 changed files with 937 additions and 268 deletions

View File

@ -1,5 +1,5 @@
app.name=${app.name}
env=${profile.env}
zheng-admin.version=${zheng-admin.version}
### activeMq
##### activeMq #####
AvtiveMQ.brokerURL=${AvtiveMQ.brokerURL}

View File

@ -1,5 +1,27 @@
app.name=zheng-api-server
profile.env=dev
zheng-admin.version=1.0.0
### activeMq
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
##### activeMq #####
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
##### zheng-admin #####
zheng.admin.version=1.0.0
##### zheng-upms #####
# \u7EC8\u7AEF\u7C7B\u578B
zheng.upms.type=client
# \u7EC8\u7AEFsession\u540D\u79F0
zheng.upms.session.id=zheng-upms-client-session-id
# \u4F1A\u8BDD\u65F6\u957F,\u534A\u5C0F\u65F6\uFF08\u5355\u4F4D\u6BEB\u79D2\uFF09
zheng.upms.session.timeout=1800000
# \u5355\u70B9\u767B\u5F55\u8BA4\u8BC1\u4E2D\u5FC3\u5730\u5740
zheng.upms.sso.server.url=http://upms.zhangshuzheng.cn:1111
# \u767B\u5F55\u6210\u529F\u56DE\u8C03\u5730\u5740
zheng.upms.successUrl=/manage/index
# \u672A\u6388\u6743\u5730\u5740
zheng.upms.unauthorizedUrl=/403
# \u8BB0\u4F4F\u5BC6\u7801\u65F6\u957F30\u5929
zheng.upms.rememberMe.timeout=2592000
# \u5B50\u7CFB\u7EDF
zheng.upms.appID=zheng-api-server
zheng.upms.appSecret=

View File

@ -1,5 +1,27 @@
app.name=zheng-api-server
profile.env=prod
zheng-admin.version=1.0.0
### activeMq
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
##### activeMq #####
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
##### zheng-admin #####
zheng.admin.version=1.0.0
##### zheng-upms #####
# \u7EC8\u7AEF\u7C7B\u578B
zheng.upms.type=client
# \u7EC8\u7AEFsession\u540D\u79F0
zheng.upms.session.id=zheng-upms-client-session-id
# \u4F1A\u8BDD\u65F6\u957F,\u534A\u5C0F\u65F6\uFF08\u5355\u4F4D\u6BEB\u79D2\uFF09
zheng.upms.session.timeout=1800000
# \u5355\u70B9\u767B\u5F55\u8BA4\u8BC1\u4E2D\u5FC3\u5730\u5740
zheng.upms.sso.server.url=http://upms.zhangshuzheng.cn:1111
# \u767B\u5F55\u6210\u529F\u56DE\u8C03\u5730\u5740
zheng.upms.successUrl=/manage/index
# \u672A\u6388\u6743\u5730\u5740
zheng.upms.unauthorizedUrl=/403
# \u8BB0\u4F4F\u5BC6\u7801\u65F6\u957F30\u5929
zheng.upms.rememberMe.timeout=2592000
# \u5B50\u7CFB\u7EDF
zheng.upms.appID=zheng-api-server
zheng.upms.appSecret=

View File

@ -1,5 +1,27 @@
app.name=zheng-api-server
profile.env=test
zheng-admin.version=1.0.0
### activeMq
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
##### activeMq #####
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
##### zheng-admin #####
zheng.admin.version=1.0.0
##### zheng-upms #####
# \u7EC8\u7AEF\u7C7B\u578B
zheng.upms.type=client
# \u7EC8\u7AEFsession\u540D\u79F0
zheng.upms.session.id=zheng-upms-client-session-id
# \u4F1A\u8BDD\u65F6\u957F,\u534A\u5C0F\u65F6\uFF08\u5355\u4F4D\u6BEB\u79D2\uFF09
zheng.upms.session.timeout=1800000
# \u5355\u70B9\u767B\u5F55\u8BA4\u8BC1\u4E2D\u5FC3\u5730\u5740
zheng.upms.sso.server.url=http://upms.zhangshuzheng.cn:1111
# \u767B\u5F55\u6210\u529F\u56DE\u8C03\u5730\u5740
zheng.upms.successUrl=/manage/index
# \u672A\u6388\u6743\u5730\u5740
zheng.upms.unauthorizedUrl=/403
# \u8BB0\u4F4F\u5BC6\u7801\u65F6\u957F30\u5929
zheng.upms.rememberMe.timeout=2592000
# \u5B50\u7CFB\u7EDF
zheng.upms.appID=zheng-api-server
zheng.upms.appSecret=

View File

@ -0,0 +1 @@
zheng.admin.version=${zheng.admin.version}

View File

@ -1,17 +1,17 @@
# \u7EC8\u7AEF\u7C7B\u578B
upms.type=client
zheng.upms.type=${zheng.upms.type}
# \u7EC8\u7AEFsession\u540D\u79F0
upms.session.id=zheng-upms-client-session-id
# \u5355\u70B9\u767B\u5F55\u8BA4\u8BC1\u4E2D\u5FC3\u5730\u5740
sso.server.url=http://upms.zhangshuzheng.cn:1111
# \u767B\u5F55\u6210\u529F\u56DE\u8C03\u5730\u5740
upms.successUrl=/manage/index
# \u672A\u6388\u6743\u5730\u5740
upms.unauthorizedUrl=/403
zheng.upms.session.id=${zheng.upms.session.id}
# \u4F1A\u8BDD\u65F6\u957F,\u534A\u5C0F\u65F6\uFF08\u5355\u4F4D\u6BEB\u79D2\uFF09
upms.session.timeout=1800000
zheng.upms.session.timeout=${zheng.upms.session.timeout}
# \u5355\u70B9\u767B\u5F55\u8BA4\u8BC1\u4E2D\u5FC3\u5730\u5740
zheng.upms.sso.server.url=${zheng.upms.sso.server.url}
# \u767B\u5F55\u6210\u529F\u56DE\u8C03\u5730\u5740
zheng.upms.successUrl=${zheng.upms.successUrl}
# \u672A\u6388\u6743\u5730\u5740
zheng.upms.unauthorizedUrl=${zheng.upms.unauthorizedUrl}
# \u8BB0\u4F4F\u5BC6\u7801\u65F6\u957F30\u5929
upms.rememberMe.timeout=2592000
zheng.upms.rememberMe.timeout=${zheng.upms.rememberMe.timeout}
# \u5B50\u7CFB\u7EDF
appID=zheng-api-server
appSecret=
zheng.upms.appID=${zheng.upms.appID}
zheng.upms.appSecret=${zheng.upms.appSecret}

View File

@ -1,5 +1,5 @@
app.name=${app.name}
env=${profile.env}
zheng-admin.version=${zheng-admin.version}
### activeMq
##### activeMq #####
AvtiveMQ.brokerURL=${AvtiveMQ.brokerURL}

View File

@ -1,5 +1,39 @@
app.name=zheng-cms-admin
profile.env=dev
zheng-admin.version=1.0.0
### activeMq
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000
##### activeMq #####
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
##### zheng-admin #####
zheng.admin.version=1.0.0
##### zheng-upms #####
# \u7EC8\u7AEF\u7C7B\u578B
zheng.upms.type=client
# \u7EC8\u7AEFsession\u540D\u79F0
zheng.upms.session.id=zheng-upms-client-session-id
# \u4F1A\u8BDD\u65F6\u957F,\u534A\u5C0F\u65F6\uFF08\u5355\u4F4D\u6BEB\u79D2\uFF09
zheng.upms.session.timeout=1800000
# \u5355\u70B9\u767B\u5F55\u8BA4\u8BC1\u4E2D\u5FC3\u5730\u5740
zheng.upms.sso.server.url=http://upms.zhangshuzheng.cn:1111
# \u767B\u5F55\u6210\u529F\u56DE\u8C03\u5730\u5740
zheng.upms.successUrl=/manage/index
# \u672A\u6388\u6743\u5730\u5740
zheng.upms.unauthorizedUrl=/403
# \u8BB0\u4F4F\u5BC6\u7801\u65F6\u957F30\u5929
zheng.upms.rememberMe.timeout=2592000
# \u5B50\u7CFB\u7EDF
zheng.upms.appID=zheng-cms-admin
zheng.upms.appSecret=
##### zheng-oss #####
zheng.oss.aliyun.oss.policy=http://oss.zhangshuzheng.cn:7771/aliyun/oss/policy

View File

@ -1,5 +1,39 @@
app.name=zheng-cms-admin
profile.env=prod
zheng-admin.version=1.0.0
### activeMq
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000
##### activeMq #####
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
##### zheng-admin #####
zheng.admin.version=1.0.0
##### zheng-upms #####
# \u7EC8\u7AEF\u7C7B\u578B
zheng.upms.type=client
# \u7EC8\u7AEFsession\u540D\u79F0
zheng.upms.session.id=zheng-upms-client-session-id
# \u4F1A\u8BDD\u65F6\u957F,\u534A\u5C0F\u65F6\uFF08\u5355\u4F4D\u6BEB\u79D2\uFF09
zheng.upms.session.timeout=1800000
# \u5355\u70B9\u767B\u5F55\u8BA4\u8BC1\u4E2D\u5FC3\u5730\u5740
zheng.upms.sso.server.url=http://upms.zhangshuzheng.cn:1111
# \u767B\u5F55\u6210\u529F\u56DE\u8C03\u5730\u5740
zheng.upms.successUrl=/manage/index
# \u672A\u6388\u6743\u5730\u5740
zheng.upms.unauthorizedUrl=/403
# \u8BB0\u4F4F\u5BC6\u7801\u65F6\u957F30\u5929
zheng.upms.rememberMe.timeout=2592000
# \u5B50\u7CFB\u7EDF
zheng.upms.appID=zheng-cms-admin
zheng.upms.appSecret=
##### zheng-oss #####
zheng.oss.aliyun.oss.policy=http://oss.zhangshuzheng.cn:7771/aliyun/oss/policy

View File

@ -1,5 +1,39 @@
app.name=zheng-cms-admin
profile.env=test
zheng-admin.version=1.0.0
### activeMq
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000
##### activeMq #####
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
##### zheng-admin #####
zheng.admin.version=1.0.0
##### zheng-upms #####
# \u7EC8\u7AEF\u7C7B\u578B
zheng.upms.type=client
# \u7EC8\u7AEFsession\u540D\u79F0
zheng.upms.session.id=zheng-upms-client-session-id
# \u4F1A\u8BDD\u65F6\u957F,\u534A\u5C0F\u65F6\uFF08\u5355\u4F4D\u6BEB\u79D2\uFF09
zheng.upms.session.timeout=1800000
# \u5355\u70B9\u767B\u5F55\u8BA4\u8BC1\u4E2D\u5FC3\u5730\u5740
zheng.upms.sso.server.url=http://upms.zhangshuzheng.cn:1111
# \u767B\u5F55\u6210\u529F\u56DE\u8C03\u5730\u5740
zheng.upms.successUrl=/manage/index
# \u672A\u6388\u6743\u5730\u5740
zheng.upms.unauthorizedUrl=/403
# \u8BB0\u4F4F\u5BC6\u7801\u65F6\u957F30\u5929
zheng.upms.rememberMe.timeout=2592000
# \u5B50\u7CFB\u7EDF
zheng.upms.appID=zheng-cms-admin
zheng.upms.appSecret=
##### zheng-oss #####
zheng.oss.aliyun.oss.policy=http://oss.zhangshuzheng.cn:7771/aliyun/oss/policy

View File

@ -1,7 +1,7 @@
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000
master.redis.ip=${master.redis.ip}
master.redis.port=${master.redis.port}
master.redis.password=${master.redis.password}
master.redis.max_active=${master.redis.max_active}
master.redis.max_idle=${master.redis.max_idle}
master.redis.max_wait=${master.redis.max_wait}
master.redis.timeout=${master.redis.timeout}

View File

@ -0,0 +1 @@
zheng.admin.version=${zheng.admin.version}

View File

@ -1,2 +1,2 @@
### aliyun ###
aliyun.oss.policy=http://oss.zhangshuzheng.cn:7771/aliyun/oss/policy
##### aliyun #####
zheng.oss.aliyun.oss.policy=${zheng.oss.aliyun.oss.policy}

View File

@ -1,17 +1,17 @@
# \u7EC8\u7AEF\u7C7B\u578B
upms.type=client
zheng.upms.type=${zheng.upms.type}
# \u7EC8\u7AEFsession\u540D\u79F0
upms.session.id=zheng-upms-client-session-id
# \u5355\u70B9\u767B\u5F55\u8BA4\u8BC1\u4E2D\u5FC3\u5730\u5740
sso.server.url=http://upms.zhangshuzheng.cn:1111
# \u767B\u5F55\u6210\u529F\u56DE\u8C03\u5730\u5740
upms.successUrl=/manage/index
# \u672A\u6388\u6743\u5730\u5740
upms.unauthorizedUrl=/403
zheng.upms.session.id=${zheng.upms.session.id}
# \u4F1A\u8BDD\u65F6\u957F,\u534A\u5C0F\u65F6\uFF08\u5355\u4F4D\u6BEB\u79D2\uFF09
upms.session.timeout=1800000
zheng.upms.session.timeout=${zheng.upms.session.timeout}
# \u5355\u70B9\u767B\u5F55\u8BA4\u8BC1\u4E2D\u5FC3\u5730\u5740
zheng.upms.sso.server.url=${zheng.upms.sso.server.url}
# \u767B\u5F55\u6210\u529F\u56DE\u8C03\u5730\u5740
zheng.upms.successUrl=${zheng.upms.successUrl}
# \u672A\u6388\u6743\u5730\u5740
zheng.upms.unauthorizedUrl=${zheng.upms.unauthorizedUrl}
# \u8BB0\u4F4F\u5BC6\u7801\u65F6\u957F30\u5929
upms.rememberMe.timeout=2592000
zheng.upms.rememberMe.timeout=${zheng.upms.rememberMe.timeout}
# \u5B50\u7CFB\u7EDF
appID=zheng-cms-admin
appSecret=
zheng.upms.appID=${zheng.upms.appID}
zheng.upms.appSecret=${zheng.upms.appSecret}

View File

@ -1,4 +1,5 @@
app.name=${app.name}
env=${profile.env}
### activeMq
##### activeMq #####
AvtiveMQ.brokerURL=${AvtiveMQ.brokerURL}

View File

@ -1,4 +1,5 @@
app.name=zheng-cms-job
profile.env=dev
### activeMq
##### activeMq #####
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)

View File

@ -1,4 +1,5 @@
app.name=zheng-cms-job
profile.env=prod
### activeMq
##### activeMq #####
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)

View File

@ -1,4 +1,5 @@
app.name=zheng-cms-job
profile.env=test
### activeMq
##### activeMq #####
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)

View File

@ -1,9 +1,8 @@
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
master.jdbc.driver=${master.jdbc.driver}
master.jdbc.url=${master.jdbc.url}
master.jdbc.username=${master.jdbc.username}
master.jdbc.password=${master.jdbc.password}
slave.jdbc.driver=${slave.jdbc.driver}
slave.jdbc.url=${slave.jdbc.url}
slave.jdbc.username=${slave.jdbc.username}
slave.jdbc.password=${slave.jdbc.password}

View File

@ -1,2 +1,21 @@
app.name=zheng-cms-rpc-service
profile.env=dev
profile.env=dev
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000

View File

@ -1,2 +1,21 @@
app.name=zheng-cms-rpc-service
profile.env=prod
profile.env=prod
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000

View File

@ -1,2 +1,21 @@
app.name=zheng-cms-rpc-service
profile.env=test
profile.env=test
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000

View File

@ -1,7 +1,7 @@
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000
master.redis.ip=${master.redis.ip}
master.redis.port=${master.redis.port}
master.redis.password=${master.redis.password}
master.redis.max_active=${master.redis.max_active}
master.redis.max_idle=${master.redis.max_idle}
master.redis.max_wait=${master.redis.max_wait}
master.redis.timeout=${master.redis.timeout}

View File

@ -33,7 +33,7 @@ public class CmsWebInterceptor extends HandlerInterceptorAdapter {
}
// zheng-ui静态资源配置信息
String appName = PropertiesFileUtil.getInstance().get("app.name");
String uiPath = PropertiesFileUtil.getInstance().get("zheng-ui.path");
String uiPath = PropertiesFileUtil.getInstance().get("zheng.ui.path");
request.setAttribute("appName", appName);
request.setAttribute("uiPath", uiPath);
// 菜单

View File

@ -1,5 +1,6 @@
app.name=${app.name}
env=${profile.env}
zheng-ui.path=${zheng-ui.path}
### activeMq
zheng.ui.path=${zheng.ui.path}
##### activeMq #####
AvtiveMQ.brokerURL=${AvtiveMQ.brokerURL}

View File

@ -1,5 +1,15 @@
app.name=zheng-cms-web
profile.env=dev
zheng-ui.path=http://ui.zhangshuzheng.cn:1000/
### activeMq
zheng.ui.path=http://ui.zhangshuzheng.cn:1000/
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000
##### activeMq #####
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)

View File

@ -1,5 +1,15 @@
app.name=zheng-cms-web
profile.env=prod
zheng-ui.path=http://ui.zhangshuzheng.cn:1000/
### activeMq
zheng.ui.path=http://ui.zhangshuzheng.cn:1000/
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000
##### activeMq #####
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)

View File

@ -1,5 +1,15 @@
app.name=zheng-cms-web
profile.env=test
zheng-ui.path=http://ui.zhangshuzheng.cn:1000/
### activeMq
zheng.ui.path=http://ui.zhangshuzheng.cn:1000/
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000
##### activeMq #####
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)

View File

@ -1,7 +1,7 @@
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000
master.redis.ip=${master.redis.ip}
master.redis.port=${master.redis.port}
master.redis.password=${master.redis.password}
master.redis.max_active=${master.redis.max_active}
master.redis.max_idle=${master.redis.max_idle}
master.redis.max_wait=${master.redis.max_wait}
master.redis.timeout=${master.redis.timeout}

View File

@ -25,7 +25,7 @@
<!-- thymeleaf视图 -->
<bean id="templateResolver" class="org.thymeleaf.spring4.templateresolver.SpringResourceTemplateResolver">
<property name="order" value="0"/>
<property name="prefix" value="${zheng-ui.path}"/>
<property name="prefix" value="${zheng.ui.path}"/>
<property name="suffix" value=""/>
<property name="templateMode" value="HTML"/>
<property name="cacheable" value="false"/>

View File

@ -23,7 +23,7 @@ public class ZhengAdminUtil implements InitializingBean, ServletContextAware {
@Override
public void setServletContext(ServletContext servletContext) {
_log.info("===== 开始解压zheng-admin =====");
String version = PropertiesFileUtil.getInstance().get("zheng-admin.version");
String version = PropertiesFileUtil.getInstance("zheng-admin-client").get("zheng.admin.version");
_log.info("zheng-admin.jar 版本: {}", version);
String jarPath = servletContext.getRealPath("/WEB-INF/lib/zheng-admin-" + version + ".jar");
_log.info("zheng-admin.jar 包路径: {}", jarPath);

View File

@ -1,4 +1,4 @@
app.name=${app.name}
env=${profile.env}
zheng-admin.version=${zheng-admin.version}
zheng-ui.path=${zheng-ui.path}
zheng.admin.version=${zheng.admin.version}
zheng.ui.path=${zheng.ui.path}

View File

@ -1,4 +1,9 @@
app.name=zheng-demo
profile.env=dev
zheng-admin.version=1.0.0
zheng-ui.path=http://ui.zhangshuzheng.cn:1000/
zheng.ui.path=http://ui.zhangshuzheng.cn:1000/
##### zheng-admin #####
zheng.admin.version=1.0.0
##### zheng-oss #####
zheng.oss.aliyun.oss.policy=http://oss.zhangshuzheng.cn:7771/aliyun/oss/policy

View File

@ -1,3 +1,9 @@
app.name=zheng-demo
profile.env=prod
zheng-admin.version=1.0.0
zheng.ui.path=http://ui.zhangshuzheng.cn:1000/
##### zheng-admin #####
zheng.admin.version=1.0.0
##### zheng-oss #####
zheng.oss.aliyun.oss.policy=http://oss.zhangshuzheng.cn:7771/aliyun/oss/policy

View File

@ -1,4 +1,9 @@
app.name=zheng-demo
profile.env=test
zheng-admin.version=1.0.0
zheng-ui.path=http://ui.zhangshuzheng.cn:1000/
zheng.ui.path=http://ui.zhangshuzheng.cn:1000/
##### zheng-admin #####
zheng.admin.version=1.0.0
##### zheng-oss #####
zheng.oss.aliyun.oss.policy=http://oss.zhangshuzheng.cn:7771/aliyun/oss/policy

View File

@ -20,7 +20,7 @@
<!-- thymeleaf视图 -->
<bean id="templateResolver" class="org.thymeleaf.spring4.templateresolver.SpringResourceTemplateResolver">
<property name="order" value="0"/>
<property name="prefix" value="${zheng-ui.path}"/>
<property name="prefix" value="${zheng.ui.path}"/>
<property name="suffix" value=""/>
<property name="templateMode" value="HTML"/>
<property name="cacheable" value="false"/>

View File

@ -1,2 +1,2 @@
### aliyun ###
aliyun.oss.policy=http://oss.zhangshuzheng.cn:7771/aliyun/oss/policy
##### aliyun #####
zheng.oss.aliyun.oss.policy=${zheng.oss.aliyun.oss.policy}

View File

@ -1,3 +1,2 @@
app.name=${app.name}
env=${profile.env}
zheng-admin.version=${zheng-admin.version}
env=${profile.env}

View File

@ -1,3 +1,31 @@
app.name=zheng-oss-admin
profile.env=dev
zheng-admin.version=1.0.0
zheng.admin.version=1.0.0
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000
##### zheng-upms #####
# \u7EC8\u7AEF\u7C7B\u578B
zheng.upms.type=client
# \u7EC8\u7AEFsession\u540D\u79F0
zheng.upms.session.id=zheng-upms-client-session-id
# \u4F1A\u8BDD\u65F6\u957F,\u534A\u5C0F\u65F6\uFF08\u5355\u4F4D\u6BEB\u79D2\uFF09
zheng.upms.session.timeout=1800000
# \u5355\u70B9\u767B\u5F55\u8BA4\u8BC1\u4E2D\u5FC3\u5730\u5740
zheng.upms.sso.server.url=http://upms.zhangshuzheng.cn:1111
# \u767B\u5F55\u6210\u529F\u56DE\u8C03\u5730\u5740
zheng.upms.successUrl=/manage/index
# \u672A\u6388\u6743\u5730\u5740
zheng.upms.unauthorizedUrl=/403
# \u8BB0\u4F4F\u5BC6\u7801\u65F6\u957F30\u5929
zheng.upms.rememberMe.timeout=2592000
# \u5B50\u7CFB\u7EDF
zheng.upms.appID=zheng-oss-admin
zheng.upms.appSecret=

View File

@ -1,3 +1,31 @@
app.name=zheng-oss-admin
profile.env=prod
zheng-admin.version=1.0.0
zheng.admin.version=1.0.0
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000
##### zheng-upms #####
# \u7EC8\u7AEF\u7C7B\u578B
zheng.upms.type=client
# \u7EC8\u7AEFsession\u540D\u79F0
zheng.upms.session.id=zheng-upms-client-session-id
# \u4F1A\u8BDD\u65F6\u957F,\u534A\u5C0F\u65F6\uFF08\u5355\u4F4D\u6BEB\u79D2\uFF09
zheng.upms.session.timeout=1800000
# \u5355\u70B9\u767B\u5F55\u8BA4\u8BC1\u4E2D\u5FC3\u5730\u5740
zheng.upms.sso.server.url=http://upms.zhangshuzheng.cn:1111
# \u767B\u5F55\u6210\u529F\u56DE\u8C03\u5730\u5740
zheng.upms.successUrl=/manage/index
# \u672A\u6388\u6743\u5730\u5740
zheng.upms.unauthorizedUrl=/403
# \u8BB0\u4F4F\u5BC6\u7801\u65F6\u957F30\u5929
zheng.upms.rememberMe.timeout=2592000
# \u5B50\u7CFB\u7EDF
zheng.upms.appID=zheng-oss-admin
zheng.upms.appSecret=

View File

@ -1,3 +1,31 @@
app.name=zheng-oss-admin
profile.env=test
zheng-admin.version=1.0.0
zheng.admin.version=1.0.0
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000
##### zheng-upms #####
# \u7EC8\u7AEF\u7C7B\u578B
zheng.upms.type=client
# \u7EC8\u7AEFsession\u540D\u79F0
zheng.upms.session.id=zheng-upms-client-session-id
# \u4F1A\u8BDD\u65F6\u957F,\u534A\u5C0F\u65F6\uFF08\u5355\u4F4D\u6BEB\u79D2\uFF09
zheng.upms.session.timeout=1800000
# \u5355\u70B9\u767B\u5F55\u8BA4\u8BC1\u4E2D\u5FC3\u5730\u5740
zheng.upms.sso.server.url=http://upms.zhangshuzheng.cn:1111
# \u767B\u5F55\u6210\u529F\u56DE\u8C03\u5730\u5740
zheng.upms.successUrl=/manage/index
# \u672A\u6388\u6743\u5730\u5740
zheng.upms.unauthorizedUrl=/403
# \u8BB0\u4F4F\u5BC6\u7801\u65F6\u957F30\u5929
zheng.upms.rememberMe.timeout=2592000
# \u5B50\u7CFB\u7EDF
zheng.upms.appID=zheng-oss-admin
zheng.upms.appSecret=

View File

@ -1,7 +1,7 @@
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000
master.redis.ip=${master.redis.ip}
master.redis.port=${master.redis.port}
master.redis.password=${master.redis.password}
master.redis.max_active=${master.redis.max_active}
master.redis.max_idle=${master.redis.max_idle}
master.redis.max_wait=${master.redis.max_wait}
master.redis.timeout=${master.redis.timeout}

View File

@ -0,0 +1 @@
zheng.admin.version=${zheng.admin.version}

View File

@ -1,17 +1,17 @@
# \u7EC8\u7AEF\u7C7B\u578B
upms.type=client
zheng.upms.type=${zheng.upms.type}
# \u7EC8\u7AEFsession\u540D\u79F0
upms.session.id=zheng-upms-client-session-id
# \u5355\u70B9\u767B\u5F55\u8BA4\u8BC1\u4E2D\u5FC3\u5730\u5740
sso.server.url=http://upms.zhangshuzheng.cn:1111
# \u767B\u5F55\u6210\u529F\u56DE\u8C03\u5730\u5740
upms.successUrl=/manage/index
# \u672A\u6388\u6743\u5730\u5740
upms.unauthorizedUrl=/403
zheng.upms.session.id=${zheng.upms.session.id}
# \u4F1A\u8BDD\u65F6\u957F,\u534A\u5C0F\u65F6\uFF08\u5355\u4F4D\u6BEB\u79D2\uFF09
upms.session.timeout=1800000
zheng.upms.session.timeout=${zheng.upms.session.timeout}
# \u5355\u70B9\u767B\u5F55\u8BA4\u8BC1\u4E2D\u5FC3\u5730\u5740
zheng.upms.sso.server.url=${zheng.upms.sso.server.url}
# \u767B\u5F55\u6210\u529F\u56DE\u8C03\u5730\u5740
zheng.upms.successUrl=${zheng.upms.successUrl}
# \u672A\u6388\u6743\u5730\u5740
zheng.upms.unauthorizedUrl=${zheng.upms.unauthorizedUrl}
# \u8BB0\u4F4F\u5BC6\u7801\u65F6\u957F30\u5929
upms.rememberMe.timeout=2592000
zheng.upms.rememberMe.timeout=${zheng.upms.rememberMe.timeout}
# \u5B50\u7CFB\u7EDF
appID=zheng-oss-admin
appSecret=
zheng.upms.appID=${zheng.upms.appID}
zheng.upms.appSecret=${zheng.upms.appSecret}

View File

@ -1,8 +1,8 @@
env=${profile.env}
app.name=${app.name}
zheng-ui.path=${zheng-ui.path}
zheng.ui.path=${zheng.ui.path}
### aliyun oss ###
##### aliyun oss #####
aliyun.oss.endpoint=${aliyun.oss.endpoint}
aliyun.oss.endpoint.internal=${aliyun.oss.endpoint.internal}
aliyun.oss.accessKeyId=${aliyun.oss.accessKeyId}

View File

@ -1,8 +1,8 @@
profile.env=dev
app.name=zheng-oss-web
zheng-ui.path=http://ui.zhangshuzheng.cn:1000/
zheng.ui.path=http://ui.zhangshuzheng.cn:1000/
### aliyun oss ###
##### aliyun oss #####
aliyun.oss.endpoint=oss-cn-shanghai.aliyuncs.com
aliyun.oss.endpoint.internal=oss-cn-shanghai-internal.aliyuncs.com
aliyun.oss.accessKeyId=
@ -10,4 +10,7 @@ aliyun.oss.accessKeySecret=
aliyun.oss.bucketName=shuzheng
aliyun.oss.policy.expire=300
aliyun.oss.maxSize=10
aliyun.oss.callback=http://shuzheng.tunnel.qydev.com/aliyun/oss/callback
aliyun.oss.callback=http://shuzheng.tunnel.qydev.com/aliyun/oss/callback
##### zheng-oss #####
zheng.oss.aliyun.oss.policy=http://oss.zhangshuzheng.cn:7771/aliyun/oss/policy

View File

@ -1,8 +1,8 @@
profile.env=prod
app.name=zheng-oss-web
zheng-ui.path=http://ui.zhangshuzheng.cn:1000/
zheng.ui.path=http://ui.zhangshuzheng.cn:1000/
### aliyun oss ###
##### aliyun oss #####
aliyun.oss.endpoint=oss-cn-shanghai.aliyuncs.com
aliyun.oss.endpoint.internal=oss-cn-shanghai-internal.aliyuncs.com
aliyun.oss.accessKeyId=
@ -10,4 +10,7 @@ aliyun.oss.accessKeySecret=
aliyun.oss.bucketName=shuzheng_prod
aliyun.oss.policy.expire=300
aliyun.oss.maxSize=10
aliyun.oss.callback=http://shuzheng.tunnel.qydev.com/aliyun/oss/callback
aliyun.oss.callback=http://shuzheng.tunnel.qydev.com/aliyun/oss/callback
##### zheng-oss #####
zheng.oss.aliyun.oss.policy=http://oss.zhangshuzheng.cn:7771/aliyun/oss/policy

View File

@ -1,8 +1,8 @@
profile.env=test
app.name=zheng-oss-web
zheng-ui.path=http://ui.zhangshuzheng.cn:1000/
zheng.ui.path=http://ui.zhangshuzheng.cn:1000/
### aliyun oss ###
##### aliyun oss #####
aliyun.oss.endpoint=oss-cn-shanghai.aliyuncs.com
aliyun.oss.endpoint.internal=oss-cn-shanghai-internal.aliyuncs.com
aliyun.oss.accessKeyId=
@ -10,4 +10,7 @@ aliyun.oss.accessKeySecret=
aliyun.oss.bucketName=shuzheng_test
aliyun.oss.policy.expire=300
aliyun.oss.maxSize=10
aliyun.oss.callback=http://shuzheng.tunnel.qydev.com/aliyun/oss/callback
aliyun.oss.callback=http://shuzheng.tunnel.qydev.com/aliyun/oss/callback
##### zheng-oss #####
zheng.oss.aliyun.oss.policy=http://oss.zhangshuzheng.cn:7771/aliyun/oss/policy

View File

@ -16,7 +16,7 @@
<!-- thymeleaf视图 -->
<bean id="templateResolver" class="org.thymeleaf.spring4.templateresolver.SpringResourceTemplateResolver">
<property name="order" value="0"/>
<property name="prefix" value="${zheng-ui.path}"/>
<property name="prefix" value="${zheng.ui.path}"/>
<property name="suffix" value=""/>
<property name="templateMode" value="HTML"/>
<property name="cacheable" value="false"/>

View File

@ -1,2 +1,2 @@
### aliyun ###
aliyun.oss.policy=http://oss.zhangshuzheng.cn:7771/aliyun/oss/policy
##### aliyun #####
zheng.oss.aliyun.oss.policy=${zheng.oss.aliyun.oss.policy}

View File

@ -1,9 +1,8 @@
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
master.jdbc.driver=${master.jdbc.driver}
master.jdbc.url=${master.jdbc.url}
master.jdbc.username=${master.jdbc.username}
master.jdbc.password=${master.jdbc.password}
slave.jdbc.driver=${slave.jdbc.driver}
slave.jdbc.url=${slave.jdbc.url}
slave.jdbc.username=${slave.jdbc.username}
slave.jdbc.password=${slave.jdbc.password}

View File

@ -1,2 +1,21 @@
app.name=zheng-pay-rpc-service
profile.env=dev
profile.env=dev
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000

View File

@ -1,2 +1,21 @@
app.name=zheng-pay-rpc-service
profile.env=prod
profile.env=prod
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000

View File

@ -1,2 +1,21 @@
app.name=zheng-pay-rpc-service
profile.env=test
profile.env=test
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000

View File

@ -1,7 +1,7 @@
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000
master.redis.ip=${master.redis.ip}
master.redis.port=${master.redis.port}
master.redis.password=${master.redis.password}
master.redis.max_active=${master.redis.max_active}
master.redis.max_idle=${master.redis.max_idle}
master.redis.max_wait=${master.redis.max_wait}
master.redis.timeout=${master.redis.timeout}

View File

@ -1,12 +1,13 @@
env=${profile.env}
alipay.appid=
alipay.gateway=https://openapi.alipaydev.com/gateway.do
alipay.rsa.private_key=
alipay.rsa.public_key=
alipay.alipay_public_key=
alipay.format=json
alipay.charset=UTF-8
alipay.sign_type=RSA2
alipay.returnUrl=http://pay.zhangshuzheng.cn/alipay/returnUrl
alipay.notifyUrl=http://pay.zhangshuzheng.cn/alipay/notifyUrl
##### alipay #####
alipay.appid=${alipay.appid}
alipay.gateway=${alipay.gateway}
alipay.rsa.private_key=${alipay.rsa.private_key}
alipay.rsa.public_key=${alipay.rsa.public_key}
alipay.alipay_public_key=${alipay.alipay_public_key}
alipay.format=${alipay.format}
alipay.charset=${alipay.charset}
alipay.sign_type=${alipay.sign_type}
alipay.returnUrl=${alipay.returnUrl}
alipay.notifyUrl=${alipay.notifyUrl}

View File

@ -1 +1,16 @@
profile.env=dev
profile.env=dev
##### alipay #####
alipay.appid=
alipay.gateway=https://openapi.alipaydev.com/gateway.do
alipay.rsa.private_key=
alipay.rsa.public_key=
alipay.alipay_public_key=
alipay.format=json
alipay.charset=UTF-8
alipay.sign_type=RSA2
alipay.returnUrl=http://pay.zhangshuzheng.cn/alipay/returnUrl
alipay.notifyUrl=http://pay.zhangshuzheng.cn/alipay/notifyUrl
##### zheng-oss #####
zheng.oss.aliyun.oss.policy=http://oss.zhangshuzheng.cn:7771/aliyun/oss/policy

View File

@ -1 +1,16 @@
profile.env=prod
profile.env=prod
##### alipay #####
alipay.appid=
alipay.gateway=https://openapi.alipaydev.com/gateway.do
alipay.rsa.private_key=
alipay.rsa.public_key=
alipay.alipay_public_key=
alipay.format=json
alipay.charset=UTF-8
alipay.sign_type=RSA2
alipay.returnUrl=http://pay.zhangshuzheng.cn/alipay/returnUrl
alipay.notifyUrl=http://pay.zhangshuzheng.cn/alipay/notifyUrl
##### zheng-oss #####
zheng.oss.aliyun.oss.policy=http://oss.zhangshuzheng.cn:7771/aliyun/oss/policy

View File

@ -1 +1,16 @@
profile.env=test
profile.env=test
##### alipay #####
alipay.appid=
alipay.gateway=https://openapi.alipaydev.com/gateway.do
alipay.rsa.private_key=
alipay.rsa.public_key=
alipay.alipay_public_key=
alipay.format=json
alipay.charset=UTF-8
alipay.sign_type=RSA2
alipay.returnUrl=http://pay.zhangshuzheng.cn/alipay/returnUrl
alipay.notifyUrl=http://pay.zhangshuzheng.cn/alipay/notifyUrl
##### zheng-oss #####
zheng.oss.aliyun.oss.policy=http://oss.zhangshuzheng.cn:7771/aliyun/oss/policy

View File

@ -1,2 +1,2 @@
### aliyun ###
aliyun.oss.policy=http://oss.zhangshuzheng.cn:7771/aliyun/oss/policy
##### aliyun #####
zheng.oss.aliyun.oss.policy=${zheng.oss.aliyun.oss.policy}

View File

@ -1,9 +1,8 @@
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
master.jdbc.driver=${master.jdbc.driver}
master.jdbc.url=${master.jdbc.url}
master.jdbc.username=${master.jdbc.username}
master.jdbc.password=${master.jdbc.password}
slave.jdbc.driver=${slave.jdbc.driver}
slave.jdbc.url=${slave.jdbc.url}
slave.jdbc.username=${slave.jdbc.username}
slave.jdbc.password=${slave.jdbc.password}

View File

@ -1,2 +1,21 @@
app.name=zheng-ucenter-rpc-service
profile.env=dev
profile.env=dev
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000

View File

@ -1,2 +1,21 @@
app.name=zheng-ucenter-rpc-service
profile.env=prod
profile.env=prod
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000

View File

@ -1,2 +1,21 @@
app.name=zheng-ucenter-rpc-service
profile.env=test
profile.env=test
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000

View File

@ -1,7 +1,7 @@
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000
master.redis.ip=${master.redis.ip}
master.redis.port=${master.redis.port}
master.redis.password=${master.redis.password}
master.redis.max_active=${master.redis.max_active}
master.redis.max_idle=${master.redis.max_idle}
master.redis.max_wait=${master.redis.max_wait}
master.redis.timeout=${master.redis.timeout}

View File

@ -1,3 +1,3 @@
env=${profile.env}
app.name=${app.name}
zheng-ui.path=${zheng-ui.path}
zheng.ui.path=${zheng.ui.path}

View File

@ -1,3 +1,3 @@
profile.env=dev
app.name=zheng-ucenter-web
zheng-ui.path=http://ui.zhangshuzheng.cn:1000/
zheng.ui.path=http://ui.zhangshuzheng.cn:1000/

View File

@ -1,3 +1,3 @@
profile.env=prod
app.name=zheng-ucenter-web
zheng-ui.path=http://ui.zhangshuzheng.cn:1000/
zheng.ui.path=http://ui.zhangshuzheng.cn:1000/

View File

@ -1,3 +1,3 @@
profile.env=test
app.name=zheng-ucenter-web
zheng-ui.path=http://ui.zhangshuzheng.cn:1000/
zheng.ui.path=http://ui.zhangshuzheng.cn:1000/

View File

@ -16,7 +16,7 @@
<!-- thymeleaf视图 -->
<bean id="templateResolver" class="org.thymeleaf.spring4.templateresolver.SpringResourceTemplateResolver">
<property name="order" value="0"/>
<property name="prefix" value="${zheng-ui.path}"/>
<property name="prefix" value="${zheng.ui.path}"/>
<property name="suffix" value=""/>
<property name="templateMode" value="HTML"/>
<property name="cacheable" value="false"/>

View File

@ -57,7 +57,7 @@ public class UpmsAuthenticationFilter extends AuthenticationFilter {
Subject subject = getSubject(request, response);
Session session = subject.getSession();
// 判断请求类型
String upmsType = PropertiesFileUtil.getInstance("zheng-upms-client").get("upms.type");
String upmsType = PropertiesFileUtil.getInstance("zheng-upms-client").get("zheng.upms.type");
session.setAttribute(UpmsConstant.UPMS_TYPE, upmsType);
if ("client".equals(upmsType)) {
return validateClient(request, response);
@ -70,14 +70,14 @@ public class UpmsAuthenticationFilter extends AuthenticationFilter {
@Override
protected boolean onAccessDenied(ServletRequest request, ServletResponse response) throws Exception {
StringBuffer sso_server_url = new StringBuffer(PropertiesFileUtil.getInstance("zheng-upms-client").get("sso.server.url"));
StringBuffer sso_server_url = new StringBuffer(PropertiesFileUtil.getInstance("zheng-upms-client").get("zheng.upms.sso.server.url"));
// server需要登录
String upmsType = PropertiesFileUtil.getInstance("zheng-upms-client").get("upms.type");
String upmsType = PropertiesFileUtil.getInstance("zheng-upms-client").get("zheng.upms.type");
if ("server".equals(upmsType)) {
WebUtils.toHttp(response).sendRedirect(sso_server_url.append("/sso/login").toString());
return false;
}
sso_server_url.append("/sso/index").append("?").append("appid").append("=").append(PropertiesFileUtil.getInstance("zheng-upms-client").get("appID"));
sso_server_url.append("/sso/index").append("?").append("appid").append("=").append(PropertiesFileUtil.getInstance("zheng-upms-client").get("zheng.upms.appID"));
// 回跳地址
HttpServletRequest httpServletRequest = WebUtils.toHttp(request);
StringBuffer backurl = httpServletRequest.getRequestURL();
@ -126,7 +126,7 @@ public class UpmsAuthenticationFilter extends AuthenticationFilter {
if (StringUtils.isNotBlank(code)) {
// HttpPost去校验code
try {
StringBuffer sso_server_url = new StringBuffer(PropertiesFileUtil.getInstance("zheng-upms-client").get("sso.server.url"));
StringBuffer sso_server_url = new StringBuffer(PropertiesFileUtil.getInstance("zheng-upms-client").get("zheng.upms.sso.server.url"));
HttpClient httpclient = new DefaultHttpClient();
HttpPost httpPost = new HttpPost(sso_server_url.toString() + "/sso/code");

View File

@ -76,7 +76,7 @@ public class UpmsRealm extends AuthorizingRealm {
String username = (String) authenticationToken.getPrincipal();
String password = new String((char[]) authenticationToken.getCredentials());
// client无密认证
String upmsType = PropertiesFileUtil.getInstance("zheng-upms-client").get("upms.type");
String upmsType = PropertiesFileUtil.getInstance("zheng-upms-client").get("zheng.upms.type");
if ("client".equals(upmsType)) {
return new SimpleAuthenticationInfo(username, password, getName());
}

View File

@ -12,9 +12,9 @@
<!-- Shiro的Web过滤器 -->
<bean id="shiroFilter" class="org.apache.shiro.spring.web.ShiroFilterFactoryBean">
<property name="securityManager" ref="securityManager"/>
<property name="loginUrl" value="${sso.server.url}"/>
<property name="successUrl" value="${upms.successUrl}"/>
<property name="unauthorizedUrl" value="${upms.unauthorizedUrl}"/>
<property name="loginUrl" value="${zheng.upms.sso.server.url}"/>
<property name="successUrl" value="${zheng.upms.successUrl}"/>
<property name="unauthorizedUrl" value="${zheng.upms.unauthorizedUrl}"/>
<property name="filters">
<util:map>
<entry key="authc" value-ref="upmsAuthenticationFilter"/>
@ -53,7 +53,7 @@
<!-- 会话管理器 -->
<bean id="sessionManager" class="org.apache.shiro.web.session.mgt.DefaultWebSessionManager">
<!-- 全局session超时时间 -->
<property name="globalSessionTimeout" value="${upms.session.timeout}"/>
<property name="globalSessionTimeout" value="${zheng.upms.session.timeout}"/>
<!-- sessionDAO -->
<property name="sessionDAO" ref="sessionDAO"/>
<property name="sessionIdCookieEnabled" value="true"/>
@ -75,7 +75,7 @@
<!-- 设置Cookie的过期时间秒为单位默认-1表示关闭浏览器时过期Cookie -->
<property name="maxAge" value="-1"/>
<!-- Cookie名称 -->
<property name="name" value="${upms.session.id}"/>
<property name="name" value="${zheng.upms.session.id}"/>
</bean>
<!-- 会话监听器 -->
@ -97,7 +97,7 @@
<!-- 不会暴露给客户端 -->
<property name="httpOnly" value="true"/>
<!-- 记住我cookie生效时间 -->
<property name="maxAge" value="${upms.rememberMe.timeout}"/>
<property name="maxAge" value="${zheng.upms.rememberMe.timeout}"/>
</bean>
<!-- 设置SecurityUtils相当于调用SecurityUtils.setSecurityManager(securityManager) -->

View File

@ -8,6 +8,6 @@ import com.zheng.common.base.BaseConstants;
*/
public class UpmsConstant extends BaseConstants {
public static final String UPMS_TYPE = "upms.type";
public static final String UPMS_TYPE = "zheng.upms.type";
}

View File

@ -1,9 +1,8 @@
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
master.jdbc.driver=${master.jdbc.driver}
master.jdbc.url=${master.jdbc.url}
master.jdbc.username=${master.jdbc.username}
master.jdbc.password=${master.jdbc.password}
slave.jdbc.driver=${slave.jdbc.driver}
slave.jdbc.url=${slave.jdbc.url}
slave.jdbc.username=${slave.jdbc.username}
slave.jdbc.password=${slave.jdbc.password}

View File

@ -1,2 +1,21 @@
app.name=zheng-upms-rpc-service
profile.env=dev
profile.env=dev
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000

View File

@ -1,2 +1,21 @@
app.name=zheng-upms-rpc-service
profile.env=prod
profile.env=prod
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000

View File

@ -1,2 +1,21 @@
app.name=zheng-upms-rpc-service
profile.env=test
profile.env=test
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000

View File

@ -1,7 +1,7 @@
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000
master.redis.ip=${master.redis.ip}
master.redis.port=${master.redis.port}
master.redis.password=${master.redis.password}
master.redis.max_active=${master.redis.max_active}
master.redis.max_idle=${master.redis.max_idle}
master.redis.max_wait=${master.redis.max_wait}
master.redis.timeout=${master.redis.timeout}

View File

@ -22,7 +22,7 @@ import javax.servlet.http.HttpServletResponse;
public class UpmsInterceptor extends HandlerInterceptorAdapter {
private static Logger _log = LoggerFactory.getLogger(UpmsInterceptor.class);
private static final String ZHENG_OSS_ALIYUN_OSS_POLICY = PropertiesFileUtil.getInstance("zheng-oss-client").get("aliyun.oss.policy");
private static final String ZHENG_OSS_ALIYUN_OSS_POLICY = PropertiesFileUtil.getInstance("zheng-oss-client").get("zheng.oss.aliyun.oss.policy");
@Autowired
UpmsApiService upmsApiService;

View File

@ -1,3 +1,2 @@
app.name=${app.name}
env=${profile.env}
zheng-admin.version=${zheng-admin.version}
env=${profile.env}

View File

@ -1,3 +1,33 @@
app.name=zheng-upms-server
profile.env=dev
zheng-admin.version=1.0.0
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000
##### zheng-admin #####
zheng.admin.version=1.0.0
##### zheng-upms #####
# \u7EC8\u7AEF\u7C7B\u578B
zheng.upms.type=server
# \u7EC8\u7AEFsession\u540D\u79F0
zheng.upms.session.id=zheng-upms-server-session-id
# \u4F1A\u8BDD\u65F6\u957F,\u534A\u5C0F\u65F6\uFF08\u5355\u4F4D\u6BEB\u79D2\uFF09
zheng.upms.session.timeout=1800000
# \u5355\u70B9\u767B\u5F55\u8BA4\u8BC1\u4E2D\u5FC3\u5730\u5740
zheng.upms.sso.server.url=http://upms.zhangshuzheng.cn:1111
# \u767B\u5F55\u6210\u529F\u56DE\u8C03\u5730\u5740
zheng.upms.successUrl=/manage/index
# \u672A\u6388\u6743\u5730\u5740
zheng.upms.unauthorizedUrl=/403
# \u8BB0\u4F4F\u5BC6\u7801\u65F6\u957F30\u5929
zheng.upms.rememberMe.timeout=2592000
##### zheng-oss #####
zheng.oss.aliyun.oss.policy=http://oss.zhangshuzheng.cn:7771/aliyun/oss/policy

View File

@ -1,3 +1,31 @@
app.name=zheng-upms-server
profile.env=prod
zheng-admin.version=1.0.0
zheng.admin.version=1.0.0
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000
##### zheng-upms #####
# \u7EC8\u7AEF\u7C7B\u578B
upms.type=server
# \u7EC8\u7AEFsession\u540D\u79F0
upms.session.id=zheng-upms-server-session-id
# \u4F1A\u8BDD\u65F6\u957F,\u534A\u5C0F\u65F6\uFF08\u5355\u4F4D\u6BEB\u79D2\uFF09
upms.session.timeout=1800000
# \u5355\u70B9\u767B\u5F55\u8BA4\u8BC1\u4E2D\u5FC3\u5730\u5740
upms.sso.server.url=http://upms.zhangshuzheng.cn:1111
# \u767B\u5F55\u6210\u529F\u56DE\u8C03\u5730\u5740
upms.successUrl=/manage/index
# \u672A\u6388\u6743\u5730\u5740
upms.unauthorizedUrl=/403
# \u8BB0\u4F4F\u5BC6\u7801\u65F6\u957F30\u5929
upms.rememberMe.timeout=2592000
##### zheng-oss #####
zheng.oss.aliyun.oss.policy=http://oss.zhangshuzheng.cn:7771/aliyun/oss/policy

View File

@ -1,3 +1,31 @@
app.name=zheng-upms-server
profile.env=test
zheng-admin.version=1.0.0
zheng.admin.version=1.0.0
##### redis #####
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000
##### zheng-upms #####
# \u7EC8\u7AEF\u7C7B\u578B
upms.type=server
# \u7EC8\u7AEFsession\u540D\u79F0
upms.session.id=zheng-upms-server-session-id
# \u4F1A\u8BDD\u65F6\u957F,\u534A\u5C0F\u65F6\uFF08\u5355\u4F4D\u6BEB\u79D2\uFF09
upms.session.timeout=1800000
# \u5355\u70B9\u767B\u5F55\u8BA4\u8BC1\u4E2D\u5FC3\u5730\u5740
upms.sso.server.url=http://upms.zhangshuzheng.cn:1111
# \u767B\u5F55\u6210\u529F\u56DE\u8C03\u5730\u5740
upms.successUrl=/manage/index
# \u672A\u6388\u6743\u5730\u5740
upms.unauthorizedUrl=/403
# \u8BB0\u4F4F\u5BC6\u7801\u65F6\u957F30\u5929
upms.rememberMe.timeout=2592000
##### zheng-oss #####
zheng.oss.aliyun.oss.policy=http://oss.zhangshuzheng.cn:7771/aliyun/oss/policy

View File

@ -1,7 +1,7 @@
master.redis.ip=127.0.0.1
master.redis.port=6379
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
master.redis.max_active=500
master.redis.max_idle=5
master.redis.max_wait=10000
master.redis.timeout=10000
master.redis.ip=${master.redis.ip}
master.redis.port=${master.redis.port}
master.redis.password=${master.redis.password}
master.redis.max_active=${master.redis.max_active}
master.redis.max_idle=${master.redis.max_idle}
master.redis.max_wait=${master.redis.max_wait}
master.redis.timeout=${master.redis.timeout}

View File

@ -0,0 +1 @@
zheng.admin.version=${zheng.admin.version}

View File

@ -1,2 +1,2 @@
### aliyun ###
aliyun.oss.policy=http://oss.zhangshuzheng.cn:7771/aliyun/oss/policy
##### aliyun #####
zheng.oss.aliyun.oss.policy=${zheng.oss.aliyun.oss.policy}

View File

@ -1,14 +1,14 @@
# \u7EC8\u7AEF\u7C7B\u578B
upms.type=server
zheng.upms.type=${zheng.upms.type}
# \u7EC8\u7AEFsession\u540D\u79F0
upms.session.id=zheng-upms-server-session-id
# \u5355\u70B9\u767B\u5F55\u8BA4\u8BC1\u4E2D\u5FC3\u5730\u5740
sso.server.url=http://upms.zhangshuzheng.cn:1111
# \u767B\u5F55\u6210\u529F\u56DE\u8C03\u5730\u5740
upms.successUrl=/manage/index
# \u672A\u6388\u6743\u5730\u5740
upms.unauthorizedUrl=/403
zheng.upms.session.id=${zheng.upms.session.id}
# \u4F1A\u8BDD\u65F6\u957F,\u534A\u5C0F\u65F6\uFF08\u5355\u4F4D\u6BEB\u79D2\uFF09
upms.session.timeout=1800000
zheng.upms.session.timeout=${zheng.upms.session.timeout}
# \u5355\u70B9\u767B\u5F55\u8BA4\u8BC1\u4E2D\u5FC3\u5730\u5740
zheng.upms.sso.server.url=${zheng.upms.sso.server.url}
# \u767B\u5F55\u6210\u529F\u56DE\u8C03\u5730\u5740
zheng.upms.successUrl=${zheng.upms.successUrl}
# \u672A\u6388\u6743\u5730\u5740
zheng.upms.unauthorizedUrl=${zheng.upms.unauthorizedUrl}
# \u8BB0\u4F4F\u5BC6\u7801\u65F6\u957F30\u5929
upms.rememberMe.timeout=2592000
zheng.upms.rememberMe.timeout=${zheng.upms.rememberMe.timeout}

View File

@ -1,9 +1,8 @@
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
master.jdbc.driver=${master.jdbc.driver}
master.jdbc.url=${master.jdbc.url}
master.jdbc.username=${master.jdbc.username}
master.jdbc.password=${master.jdbc.password}
slave.jdbc.driver=${slave.jdbc.driver}
slave.jdbc.url=${slave.jdbc.url}
slave.jdbc.username=${slave.jdbc.username}
slave.jdbc.password=${slave.jdbc.password}