Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center
Commits
4a1950a4
Commit
4a1950a4
authored
Jun 22, 2021
by
陈浩建
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置文件敏感信息加密
parent
32458b2c
Hide whitespace changes
Inline
Side-by-side
Showing
45 changed files
with
348 additions
and
185 deletions
+348
-185
apply-net/pom.xml
+5
-2
apply-net/src/main/resources/application-local.yml
+5
-5
apply-net/src/main/resources/application-prod.yml
+9
-4
apply-net/src/main/resources/application-test.yml
+10
-6
apply-net/src/main/resources/application.yml
+5
-2
common/pom.xml
+5
-3
common/src/main/java/com/winsun/outSideSystem/IntelligenceSendOrder.java
+2
-2
common/src/main/java/com/winsun/utils/PicturesUtil.java
+2
-5
core-service/pom.xml
+1
-2
core-service/src/main/resources/application-local.yml
+11
-12
core-service/src/main/resources/application-prod.yml
+5
-5
core-service/src/main/resources/application-test.yml
+5
-6
core-service/src/main/resources/application.yml
+10
-3
gateway/pom.xml
+17
-3
gateway/src/main/resources/application-local.yml
+10
-5
gateway/src/main/resources/application-prod.yml
+8
-4
gateway/src/main/resources/application-test.yml
+8
-4
gateway/src/main/resources/application.yml
+10
-6
migration/src/main/resources/application.yml
+7
-7
new-user/pom.xml
+5
-2
new-user/src/main/resources/application-local.yml
+8
-4
new-user/src/main/resources/application-prod.yml
+9
-4
new-user/src/main/resources/application-test.yml
+9
-5
new-user/src/main/resources/application.yml
+10
-3
old-user/pom.xml
+5
-2
old-user/src/main/resources/application-local.yml
+8
-4
old-user/src/main/resources/application-prod.yml
+9
-4
old-user/src/main/resources/application-test.yml
+10
-6
old-user/src/main/resources/application.yml
+10
-3
pom.xml
+19
-2
renewal-user/pom.xml
+5
-2
renewal-user/src/main/resources/application-local.yml
+8
-4
renewal-user/src/main/resources/application-prod.yml
+9
-4
renewal-user/src/main/resources/application-test.yml
+10
-6
renewal-user/src/main/resources/application.yml
+10
-3
service-manager/pom.xml
+7
-4
service-manager/src/main/resources/application-local.yml
+3
-3
service-manager/src/main/resources/application-prod.yml
+9
-4
service-manager/src/main/resources/application-test.yml
+5
-6
service-manager/src/main/resources/application.yml
+9
-5
task/pom.xml
+4
-0
task/src/main/resources/application-local.yml
+3
-3
task/src/main/resources/application-prod.yml
+9
-4
task/src/main/resources/application-test.yml
+10
-6
task/src/main/resources/application.yml
+10
-6
No files found.
apply-net/pom.xml
View file @
4a1950a4
...
@@ -130,6 +130,10 @@
...
@@ -130,6 +130,10 @@
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.github.ulisesbocchio
</groupId>
<artifactId>
jasypt-spring-boot-starter
</artifactId>
</dependency>
<dependency>
<groupId>
com.winsun.gdtel.gztel
</groupId>
<groupId>
com.winsun.gdtel.gztel
</groupId>
<artifactId>
common
</artifactId>
<artifactId>
common
</artifactId>
<version>
${service.version}
</version>
<version>
${service.version}
</version>
...
@@ -177,4 +181,4 @@
...
@@ -177,4 +181,4 @@
</properties>
</properties>
</profile>
</profile>
</profiles>
</profiles>
</project>
</project>
\ No newline at end of file
apply-net/src/main/resources/application-local.yml
View file @
4a1950a4
...
@@ -96,8 +96,8 @@ spring:
...
@@ -96,8 +96,8 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
172.18.101.171
host
:
172.18.101.171
port
:
5672
port
:
5672
username
:
guest
username
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
password
:
guest
password
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
redis
:
redis
:
# 是否使用集群模式
# 是否使用集群模式
clusterWhether
:
false
clusterWhether
:
false
...
@@ -108,7 +108,7 @@ spring:
...
@@ -108,7 +108,7 @@ spring:
database
:
0
database
:
0
host
:
localhost
host
:
localhost
port
:
6379
port
:
6379
password
:
password
:
ENC(dzBR0ihAkOs43UgnwmnQfFpmjbWvfqmtOIwwgra/+ik=)
lettuce
:
lettuce
:
pool
:
pool
:
max-active
:
-1
max-active
:
-1
...
@@ -121,8 +121,8 @@ spring:
...
@@ -121,8 +121,8 @@ spring:
prohibition
:
600
prohibition
:
600
datasource
:
datasource
:
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
yzzx
username
:
ENC(CT4X/xOJCLwK1IJtuZZN/A==)
password
:
yzzx123!@#
password
:
ENC(IQRisTAAktGkj1rrrEvpXpImI0FyRfda)
dynamic
:
dynamic
:
primary
:
master
primary
:
master
p6spy
:
true
p6spy
:
true
...
...
apply-net/src/main/resources/application-prod.yml
View file @
4a1950a4
...
@@ -97,7 +97,7 @@ spring:
...
@@ -97,7 +97,7 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
localhost
host
:
localhost
port
:
5672
port
:
5672
username
:
root
username
:
ENC(z8WG0Zar99IzLr3L9Z3mOw==)
password
:
root
password
:
root
redis
:
redis
:
clusterWhether
:
false
clusterWhether
:
false
...
@@ -108,7 +108,7 @@ spring:
...
@@ -108,7 +108,7 @@ spring:
database
:
0
database
:
0
host
:
localhost
host
:
localhost
port
:
6379
port
:
6379
password
:
hniPdaqs4$8HH8m6KTP
password
:
ENC(dzBR0ihAkOs43UgnwmnQfFpmjbWvfqmtOIwwgra/+ik=)
lettuce
:
lettuce
:
pool
:
pool
:
max-active
:
-1
max-active
:
-1
...
@@ -129,8 +129,8 @@ spring:
...
@@ -129,8 +129,8 @@ spring:
datasource
:
datasource
:
master
:
master
:
url
:
jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
root
username
:
ENC(z8WG0Zar99IzLr3L9Z3mOw==)
password
:
AMrGBg6ZSsRrDLs6
password
:
ENC(r4U47DSf9LNRyoH/G6GxfA2w1JTZOwr7MREDyGA0PWM=)
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
devtools
:
devtools
:
restart
:
restart
:
...
@@ -185,3 +185,8 @@ management:
...
@@ -185,3 +185,8 @@ management:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
#jasypt加密的盐值
#jasypt.encryptor.password=erp
jasypt
:
encryptor
:
password
:
schoolCenterErp
apply-net/src/main/resources/application-test.yml
View file @
4a1950a4
...
@@ -96,8 +96,8 @@ spring:
...
@@ -96,8 +96,8 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
172.18.101.171
host
:
172.18.101.171
port
:
5672
port
:
5672
username
:
guest
username
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
password
:
guest
password
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
redis
:
redis
:
# 是否使用集群模式
# 是否使用集群模式
clusterWhether
:
false
clusterWhether
:
false
...
@@ -129,8 +129,8 @@ spring:
...
@@ -129,8 +129,8 @@ spring:
datasource
:
datasource
:
master
:
master
:
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
yzzx
username
:
ENC(CT4X/xOJCLwK1IJtuZZN/A==)
password
:
yzzx123!@#
password
:
ENC(IQRisTAAktGkj1rrrEvpXpImI0FyRfda)
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
devtools
:
devtools
:
restart
:
restart
:
...
@@ -186,4 +186,9 @@ management:
...
@@ -186,4 +186,9 @@ management:
endpoints
:
endpoints
:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
\ No newline at end of file
#jasypt加密的盐值
#jasypt.encryptor.password=erp
jasypt
:
encryptor
:
password
:
schoolCenterErp
apply-net/src/main/resources/application.yml
View file @
4a1950a4
...
@@ -98,8 +98,8 @@ spring:
...
@@ -98,8 +98,8 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
123.56.82.141
host
:
123.56.82.141
port
:
5672
port
:
5672
username
:
guest
username
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
password
:
guest
password
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
redis
:
redis
:
# 是否使用集群模式
# 是否使用集群模式
clusterWhether
:
false
clusterWhether
:
false
...
@@ -122,6 +122,9 @@ spring:
...
@@ -122,6 +122,9 @@ spring:
exprie
:
600
exprie
:
600
prohibition
:
600
prohibition
:
600
datasource
:
datasource
:
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
ENC(CT4X/xOJCLwK1IJtuZZN/A==)
password
:
ENC(IQRisTAAktGkj1rrrEvpXpImI0FyRfda)
dynamic
:
dynamic
:
primary
:
master
primary
:
master
p6spy
:
true
p6spy
:
true
...
...
common/pom.xml
View file @
4a1950a4
...
@@ -119,6 +119,9 @@
...
@@ -119,6 +119,9 @@
<groupId>
org.springframework
</groupId>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-test
</artifactId>
<artifactId>
spring-test
</artifactId>
</dependency>
</dependency>
<!-- <dependency>-->
<!-- <groupId>com.github.ulisesbocchio</groupId>-->
<!-- <artifactId>jasypt-spring-boot-starter</artifactId>-->
<!-- </dependency>-->
</dependencies>
</dependencies>
</project>
</project>
\ No newline at end of file
common/src/main/java/com/winsun/outSideSystem/IntelligenceSendOrder.java
View file @
4a1950a4
...
@@ -1006,12 +1006,12 @@ public class IntelligenceSendOrder {
...
@@ -1006,12 +1006,12 @@ public class IntelligenceSendOrder {
saleId1
=
itmeJson
.
getString
(
"saleId"
);
saleId1
=
itmeJson
.
getString
(
"saleId"
);
}
}
}
else
if
(
itmeJson
.
getString
(
"propertyName"
).
indexOf
(
"提速包"
)
!=
-
1
)
{
}
else
if
(
itmeJson
.
getString
(
"propertyName"
).
indexOf
(
"提速包"
)
!=
-
1
)
{
if
(
itmeJson
.
getString
(
"name"
).
equals
(
expenses
))
{
if
(
expenses
.
equals
(
itmeJson
.
getString
(
"name"
)
))
{
// 获取对应产品ID
// 获取对应产品ID
saleId2
=
itmeJson
.
getString
(
"saleId"
);
saleId2
=
itmeJson
.
getString
(
"saleId"
);
}
}
}
else
if
(
itmeJson
.
getString
(
"propertyName"
).
indexOf
(
"增值业务"
)
!=
-
1
)
{
}
else
if
(
itmeJson
.
getString
(
"propertyName"
).
indexOf
(
"增值业务"
)
!=
-
1
)
{
if
(
itmeJson
.
getString
(
"name"
).
equals
(
expenses
))
{
if
(
expenses
.
equals
(
itmeJson
.
getString
(
"name"
)
))
{
// 获取对应产品ID
// 获取对应产品ID
saleId2
=
itmeJson
.
getString
(
"saleId"
);
saleId2
=
itmeJson
.
getString
(
"saleId"
);
}
}
...
...
common/src/main/java/com/winsun/utils/PicturesUtil.java
View file @
4a1950a4
...
@@ -49,24 +49,21 @@ public class PicturesUtil {
...
@@ -49,24 +49,21 @@ public class PicturesUtil {
//blog.csdn.net/kookob/java/article/details/6885383
//blog.csdn.net/kookob/java/article/details/6885383
String
filePath
=
null
;
String
filePath
=
null
;
String
[]
multipartFiles
=
new
String
[]{
file
};
String
[]
multipartFiles
=
new
String
[]{
file
};
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
for
(
int
i
=
0
;
i
<
multipartFiles
.
length
;
i
++)
{
for
(
int
i
=
0
;
i
<
multipartFiles
.
length
;
i
++)
{
if
(!
multipartFiles
[
i
].
isEmpty
())
{
if
(!
multipartFiles
[
i
].
isEmpty
())
{
String
base64Data
=
multipartFiles
[
i
].
split
(
","
)[
1
];
String
base64Data
=
multipartFiles
[
i
].
split
(
","
)[
1
];
String
houzhui
=
multipartFiles
[
i
].
split
(
","
)[
0
].
split
(
"/"
)[
1
].
split
(
";"
)[
0
];
String
houzhui
=
multipartFiles
[
i
].
split
(
","
)[
0
].
split
(
"/"
)[
1
].
split
(
";"
)[
0
];
String
filePath1
=
UPLOAD_PRE
+
FilePath
.
PATH
.
getValue
()+
pathType
+
"/"
+
yymmdd
+
"/"
+
orderNum
;
String
filePath1
=
UPLOAD_PRE
+
FilePath
.
PATH
.
getValue
()+
pathType
+
"/"
+
yymmdd
+
"/"
+
orderNum
;
map
.
put
(
"filePath1"
,
filePath1
);
File
dir
=
new
File
(
filePath1
);
File
dir
=
new
File
(
map
.
get
(
"filePath1"
).
toString
());
if
(!
dir
.
exists
())
{
if
(!
dir
.
exists
())
{
dir
.
mkdirs
();
dir
.
mkdirs
();
}
//enclosure/images/idCard/temp/年/月/日/name.jpeg
}
//enclosure/images/idCard/temp/年/月/日/name.jpeg
filePath
=
UPLOAD_PRE
+
FilePath
.
PATH
.
getValue
()+
pathType
+
"/"
+
yymmdd
+
"/"
+
orderNum
+
"/"
+
(
new
Date
()).
getTime
()
+
"."
+
PicturesUtil
.
checkSuffix
(
houzhui
);
filePath
=
UPLOAD_PRE
+
FilePath
.
PATH
.
getValue
()+
pathType
+
"/"
+
yymmdd
+
"/"
+
orderNum
+
"/"
+
(
new
Date
()).
getTime
()
+
"."
+
PicturesUtil
.
checkSuffix
(
houzhui
);
map
.
put
(
"filePath"
,
filePath
);
byte
[]
bytes
=
Base64
.
getMimeDecoder
().
decode
(
base64Data
.
replace
(
" "
,
"+"
));
byte
[]
bytes
=
Base64
.
getMimeDecoder
().
decode
(
base64Data
.
replace
(
" "
,
"+"
));
FileOutputStream
fos
=
null
;
FileOutputStream
fos
=
null
;
try
{
try
{
fos
=
new
FileOutputStream
(
map
.
get
(
"filePath"
).
toString
()
);
fos
=
new
FileOutputStream
(
filePath
);
if
(
fos
!=
null
)
{
if
(
fos
!=
null
)
{
fos
.
write
(
bytes
);
fos
.
write
(
bytes
);
}
}
...
...
core-service/pom.xml
View file @
4a1950a4
...
@@ -117,4 +117,4 @@
...
@@ -117,4 +117,4 @@
</resource>
</resource>
</resources>
</resources>
</build>
</build>
</project>
</project>
\ No newline at end of file
core-service/src/main/resources/application-local.yml
View file @
4a1950a4
...
@@ -69,12 +69,10 @@ spring:
...
@@ -69,12 +69,10 @@ spring:
# republish failures to the DLQ with diagnostic headers
# republish failures to the DLQ with diagnostic headers
republish-to-dlq
:
true
republish-to-dlq
:
true
rabbitmq
:
rabbitmq
:
# host: locahost
host
:
localhost
host
:
123.56.82.141
port
:
5672
port
:
5672
username
:
guest
username
:
ENC(bejPzANsFWjq/OahirFIYg==)
password
:
guest
password
:
ENC(bejPzANsFWjq/OahirFIYg==)
# password: dsJS8AaSSQ1
redis
:
redis
:
clusterWhether
:
false
clusterWhether
:
false
cluster
:
cluster
:
...
@@ -84,8 +82,7 @@ spring:
...
@@ -84,8 +82,7 @@ spring:
database
:
0
database
:
0
host
:
localhost
host
:
localhost
port
:
6379
port
:
6379
# password: aOSJD*D12S
password
:
ENC(7pxTOj/J2GJBbNFhIRTz4Q8Wjl9iGg+WAKwkmxddQJo=)
password
:
lettuce
:
lettuce
:
pool
:
pool
:
max-active
:
-1
max-active
:
-1
...
@@ -98,9 +95,9 @@ spring:
...
@@ -98,9 +95,9 @@ spring:
prohibition
:
600
prohibition
:
600
datasource
:
datasource
:
# 由于父框架的问题,这里本来不应该这样写的
# 由于父框架的问题,这里本来不应该这样写的
url
:
jdbc:mysql://1
27.0.0.
1:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://1
72.18.101.17
1:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
root
username
:
ENC(65KjcBzodj/mXcGa5YEAUg==)
password
:
root
password
:
ENC(fc4sYisgO1ToW+XX+UWP4ew9bMCT3tKn)
db-name
:
guns
#用来搜集数据库的所有表
db-name
:
guns
#用来搜集数据库的所有表
filters
:
wall,mergeStat
filters
:
wall,mergeStat
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
...
@@ -178,4 +175,7 @@ messageconfig:
...
@@ -178,4 +175,7 @@ messageconfig:
channel
:
channel
:
phoneRule
:
phoneRule
:
enabled
:
enabled
:
rule
:
rule
:
\ No newline at end of file
weixin
:
appid
:
wx0641dc1dc4d34384
appsecret
:
3b43b46fc94d4e98588ee6ad992fa5c7
core-service/src/main/resources/application-prod.yml
View file @
4a1950a4
...
@@ -72,8 +72,8 @@ spring:
...
@@ -72,8 +72,8 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
localhost
host
:
localhost
port
:
5672
port
:
5672
username
:
root
username
:
ENC(NzFqyqWumayIAvJvbmNy+g==)
password
:
root
password
:
ENC(NzFqyqWumayIAvJvbmNy+g==)
redis
:
redis
:
clusterWhether
:
false
clusterWhether
:
false
cluster
:
cluster
:
...
@@ -83,7 +83,7 @@ spring:
...
@@ -83,7 +83,7 @@ spring:
database
:
0
database
:
0
host
:
localhost
host
:
localhost
port
:
6379
port
:
6379
password
:
hniPdaqs4$8HH8m6KTP
password
:
ENC(7pxTOj/J2GJBbNFhIRTz4Q8Wjl9iGg+WAKwkmxddQJo=)
lettuce
:
lettuce
:
pool
:
pool
:
max-active
:
-1
max-active
:
-1
...
@@ -96,8 +96,8 @@ spring:
...
@@ -96,8 +96,8 @@ spring:
prohibition
:
600
prohibition
:
600
datasource
:
datasource
:
url
:
jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
root
username
:
ENC(NzFqyqWumayIAvJvbmNy+g==)
password
:
AMrGBg6ZSsRrDLs6
password
:
ENC(JxItnS1AAsYjV/dC7khZo8KRypHlPIfaucHkHsfYib8=)
#用来搜集数据库的所有表
#用来搜集数据库的所有表
db-name
:
guns
db-name
:
guns
filters
:
wall,mergeStat
filters
:
wall,mergeStat
...
...
core-service/src/main/resources/application-test.yml
View file @
4a1950a4
...
@@ -73,8 +73,8 @@ spring:
...
@@ -73,8 +73,8 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
172.18.101.171
host
:
172.18.101.171
port
:
5672
port
:
5672
username
:
guest
username
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
password
:
guest
password
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
redis
:
redis
:
clusterWhether
:
false
clusterWhether
:
false
cluster
:
cluster
:
...
@@ -98,8 +98,8 @@ spring:
...
@@ -98,8 +98,8 @@ spring:
datasource
:
datasource
:
# 由于父框架的问题,这里本来不应该这样写的
# 由于父框架的问题,这里本来不应该这样写的
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
yzzx
username
:
ENC(CT4X/xOJCLwK1IJtuZZN/A==)
password
:
yzzx123!@#
password
:
ENC(IQRisTAAktGkj1rrrEvpXpImI0FyRfda)
db-name
:
guns
#用来搜集数据库的所有表
db-name
:
guns
#用来搜集数据库的所有表
filters
:
wall,mergeStat
filters
:
wall,mergeStat
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
...
@@ -176,4 +176,4 @@ messageconfig:
...
@@ -176,4 +176,4 @@ messageconfig:
channel
:
channel
:
phoneRule
:
phoneRule
:
enabled
:
enabled
:
rule
:
rule
:
\ No newline at end of file
core-service/src/main/resources/application.yml
View file @
4a1950a4
...
@@ -73,6 +73,8 @@ spring:
...
@@ -73,6 +73,8 @@ spring:
port
:
5672
port
:
5672
username
:
guest
username
:
guest
password
:
guest
password
:
guest
# username: ENC(Jm+qlQikhtTS1xupsT/bLQ==)
# password: ENC(Jm+qlQikhtTS1xupsT/bLQ==)
redis
:
redis
:
clusterWhether
:
false
clusterWhether
:
false
cluster
:
cluster
:
...
@@ -82,7 +84,8 @@ spring:
...
@@ -82,7 +84,8 @@ spring:
database
:
0
database
:
0
host
:
localhost
host
:
localhost
port
:
6379
port
:
6379
password
:
password
:
hniPdaqs4$8HH8m6KTP
# password: ENC(dzBR0ihAkOs43UgnwmnQfFpmjbWvfqmtOIwwgra/+ik=)
lettuce
:
lettuce
:
pool
:
pool
:
max-active
:
-1
max-active
:
-1
...
@@ -98,6 +101,8 @@ spring:
...
@@ -98,6 +101,8 @@ spring:
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
yzzx
username
:
yzzx
password
:
yzzx123!@#
password
:
yzzx123!@#
# username: ENC(CT4X/xOJCLwK1IJtuZZN/A==)
# password: ENC(IQRisTAAktGkj1rrrEvpXpImI0FyRfda)
db-name
:
guns
#用来搜集数据库的所有表
db-name
:
guns
#用来搜集数据库的所有表
filters
:
wall,mergeStat
filters
:
wall,mergeStat
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
...
@@ -178,4 +183,7 @@ messageconfig:
...
@@ -178,4 +183,7 @@ messageconfig:
rule
:
rule
:
weixin
:
weixin
:
appid
:
wx0641dc1dc4d34384
appid
:
wx0641dc1dc4d34384
appsecret
:
3b43b46fc94d4e98588ee6ad992fa5c7
appsecret
:
3b43b46fc94d4e98588ee6ad992fa5c7
\ No newline at end of file
jasypt
:
encryptor
:
password
:
602927682333704192
gateway/pom.xml
View file @
4a1950a4
...
@@ -39,7 +39,22 @@
...
@@ -39,7 +39,22 @@
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-jetty
</artifactId>
<artifactId>
spring-boot-starter-jetty
</artifactId>
</dependency>
</dependency>
<!-- 为了节省内存,改用jetty -->
<dependency>
<groupId>
com.github.ulisesbocchio
</groupId>
<artifactId>
jasypt-spring-boot-starter
</artifactId>
</dependency>
<dependency>
<groupId>
com.github.ulisesbocchio
</groupId>
<artifactId>
jasypt-spring-boot
</artifactId>
</dependency>
<dependency>
<groupId>
com.melloware
</groupId>
<artifactId>
jasypt
</artifactId>
</dependency>
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
druid
</artifactId>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
...
@@ -52,4 +67,4 @@
...
@@ -52,4 +67,4 @@
</plugin>
</plugin>
</plugins>
</plugins>
</build>
</build>
</project>
</project>
\ No newline at end of file
gateway/src/main/resources/application-local.yml
View file @
4a1950a4
...
@@ -29,11 +29,11 @@ spring:
...
@@ -29,11 +29,11 @@ spring:
max-file-size
:
100MB
max-file-size
:
100MB
datasource
:
datasource
:
driver-class-name
:
com.mysql.jdbc.Driver
driver-class-name
:
com.mysql.jdbc.Driver
url
:
jdbc:mysql://1
27.0.0.
1:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://1
72.18.101.17
1:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
root
username
:
ENC(ttHiJ3xa2HSdZPBS941cQA==)
password
:
root
password
:
ENC(7sKoBqy3wlYxgx3agqkrpOTPaBaMCwhx)
# username:
root
# username:
ENC(z8WG0Zar99IzLr3L9Z3mOw==)
# password:
AMrGBg6ZSsRrDLs6
# password:
ENC(r4U47DSf9LNRyoH/G6GxfA2w1JTZOwr7MREDyGA0PWM=)
zuul
:
zuul
:
ribbon
:
ribbon
:
eager-load
:
eager-load
:
...
@@ -84,3 +84,8 @@ management:
...
@@ -84,3 +84,8 @@ management:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
#jasypt加密的盐值
#jasypt.encryptor.password=erp
jasypt
:
encryptor
:
password
:
schoolCenterErp
gateway/src/main/resources/application-prod.yml
View file @
4a1950a4
...
@@ -29,8 +29,8 @@ spring:
...
@@ -29,8 +29,8 @@ spring:
max-file-size
:
100MB
max-file-size
:
100MB
datasource
:
datasource
:
url
:
jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
root
username
:
ENC(z8WG0Zar99IzLr3L9Z3mOw==)
password
:
AMrGBg6ZSsRrDLs6
password
:
ENC(r4U47DSf9LNRyoH/G6GxfA2w1JTZOwr7MREDyGA0PWM=)
zuul
:
zuul
:
ribbon
:
ribbon
:
eager-load
:
eager-load
:
...
@@ -80,4 +80,9 @@ management:
...
@@ -80,4 +80,9 @@ management:
endpoints
:
endpoints
:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
\ No newline at end of file
#jasypt加密的盐值
#jasypt.encryptor.password=erp
jasypt
:
encryptor
:
password
:
schoolCenterErp
gateway/src/main/resources/application-test.yml
View file @
4a1950a4
...
@@ -30,8 +30,8 @@ spring:
...
@@ -30,8 +30,8 @@ spring:
datasource
:
datasource
:
driver-class-name
:
com.mysql.jdbc.Driver
driver-class-name
:
com.mysql.jdbc.Driver
url
:
jdbc:mysql://172.18.101.171:3306/school_center?useSSL=false
url
:
jdbc:mysql://172.18.101.171:3306/school_center?useSSL=false
username
:
yzzx
username
:
ENC(CT4X/xOJCLwK1IJtuZZN/A==)
password
:
yzzx123!@#
password
:
ENC(IQRisTAAktGkj1rrrEvpXpImI0FyRfda)
zuul
:
zuul
:
ribbon
:
ribbon
:
eager-load
:
eager-load
:
...
@@ -81,4 +81,9 @@ management:
...
@@ -81,4 +81,9 @@ management:
endpoints
:
endpoints
:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
\ No newline at end of file
#jasypt加密的盐值
#jasypt.encryptor.password=erp
jasypt
:
encryptor
:
password
:
schoolCenterErp
gateway/src/main/resources/application.yml
View file @
4a1950a4
...
@@ -30,10 +30,10 @@ spring:
...
@@ -30,10 +30,10 @@ spring:
datasource
:
datasource
:
driver-class-name
:
com.mysql.jdbc.Driver
driver-class-name
:
com.mysql.jdbc.Driver
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
yzzx
username
:
ENC(CT4X/xOJCLwK1IJtuZZN/A==)
password
:
yzzx123!@#
password
:
ENC(IQRisTAAktGkj1rrrEvpXpImI0FyRfda)
# username:
root
# username:
ENC(z8WG0Zar99IzLr3L9Z3mOw==)
# password:
AMrGBg6ZSsRrDLs6
# password:
ENC(r4U47DSf9LNRyoH/G6GxfA2w1JTZOwr7MREDyGA0PWM=)
zuul
:
zuul
:
ribbon
:
ribbon
:
eager-load
:
eager-load
:
...
@@ -83,4 +83,9 @@ management:
...
@@ -83,4 +83,9 @@ management:
endpoints
:
endpoints
:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
\ No newline at end of file
#jasypt加密的盐值
#jasypt.encryptor.password=erp
jasypt
:
encryptor
:
password
:
schoolCenterErp
migration/src/main/resources/application.yml
View file @
4a1950a4
...
@@ -21,23 +21,23 @@ spring:
...
@@ -21,23 +21,23 @@ spring:
datasource
:
datasource
:
db1
:
db1
:
jdbc-url
:
jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
jdbc-url
:
jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
root
username
:
ENC(z8WG0Zar99IzLr3L9Z3mOw==)
password
:
root
password
:
root
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
db2
:
db2
:
#jdbc-url: jdbc:mysql://172.18.101.171:3306/xyjl?useUnicode=true&characterEncoding=utf-8&serverTimezone=CTT&useSSL=false
#jdbc-url: jdbc:mysql://172.18.101.171:3306/xyjl?useUnicode=true&characterEncoding=utf-8&serverTimezone=CTT&useSSL=false
#username:
yzzx
#username:
ENC(CT4X/xOJCLwK1IJtuZZN/A==)
#password:
yzzx123!@#
#password:
ENC(IQRisTAAktGkj1rrrEvpXpImI0FyRfda)
jdbc-url
:
jdbc:mysql://localhost:3306/xyjl?useUnicode=true&characterEncoding=utf-8&serverTimezone=CTT&useSSL=false
jdbc-url
:
jdbc:mysql://localhost:3306/xyjl?useUnicode=true&characterEncoding=utf-8&serverTimezone=CTT&useSSL=false
username
:
root
username
:
ENC(z8WG0Zar99IzLr3L9Z3mOw==)
password
:
root
password
:
root
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
db3
:
db3
:
#jdbc-url: jdbc:mysql://172.18.101.171:3306/dzqd?useUnicode=true&characterEncoding=utf-8&serverTimezone=CTT&useSSL=false
#jdbc-url: jdbc:mysql://172.18.101.171:3306/dzqd?useUnicode=true&characterEncoding=utf-8&serverTimezone=CTT&useSSL=false
#username:
yzzx
#username:
ENC(CT4X/xOJCLwK1IJtuZZN/A==)
#password:
yzzx123!@#
#password:
ENC(IQRisTAAktGkj1rrrEvpXpImI0FyRfda)
jdbc-url
:
jdbc:mysql://localhost:3306/dzqd?useUnicode=true&characterEncoding=utf-8&serverTimezone=CTT&useSSL=false
jdbc-url
:
jdbc:mysql://localhost:3306/dzqd?useUnicode=true&characterEncoding=utf-8&serverTimezone=CTT&useSSL=false
username
:
root
username
:
ENC(z8WG0Zar99IzLr3L9Z3mOw==)
password
:
root
password
:
root
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
...
...
new-user/pom.xml
View file @
4a1950a4
...
@@ -124,6 +124,10 @@
...
@@ -124,6 +124,10 @@
<artifactId>
common
</artifactId>
<artifactId>
common
</artifactId>
<version>
${service.version}
</version>
<version>
${service.version}
</version>
</dependency>
</dependency>
<dependency>
<groupId>
com.github.ulisesbocchio
</groupId>
<artifactId>
jasypt-spring-boot-starter
</artifactId>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
...
@@ -167,4 +171,4 @@
...
@@ -167,4 +171,4 @@
</properties>
</properties>
</profile>
</profile>
</profiles>
</profiles>
</project>
</project>
\ No newline at end of file
new-user/src/main/resources/application-local.yml
View file @
4a1950a4
...
@@ -99,8 +99,8 @@ spring:
...
@@ -99,8 +99,8 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
123.56.82.141
host
:
123.56.82.141
port
:
5672
port
:
5672
username
:
guest
username
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
password
:
guest
password
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
redis
:
redis
:
# 是否使用集群模式
# 是否使用集群模式
clusterWhether
:
false
clusterWhether
:
false
...
@@ -111,7 +111,7 @@ spring:
...
@@ -111,7 +111,7 @@ spring:
database
:
0
database
:
0
host
:
localhost
host
:
localhost
port
:
6379
port
:
6379
password
:
password
:
ENC(dzBR0ihAkOs43UgnwmnQfFpmjbWvfqmtOIwwgra/+ik=)
lettuce
:
lettuce
:
pool
:
pool
:
max-active
:
-1
max-active
:
-1
...
@@ -190,4 +190,8 @@ management:
...
@@ -190,4 +190,8 @@ management:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
#jasypt加密的盐值
#jasypt.encryptor.password=erp
jasypt
:
encryptor
:
password
:
schoolCenterErp
new-user/src/main/resources/application-prod.yml
View file @
4a1950a4
...
@@ -99,7 +99,7 @@ spring:
...
@@ -99,7 +99,7 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
localhost
host
:
localhost
port
:
5672
port
:
5672
username
:
root
username
:
ENC(z8WG0Zar99IzLr3L9Z3mOw==)
password
:
root
password
:
root
redis
:
redis
:
clusterWhether
:
false
clusterWhether
:
false
...
@@ -110,7 +110,7 @@ spring:
...
@@ -110,7 +110,7 @@ spring:
database
:
0
database
:
0
host
:
localhost
host
:
localhost
port
:
6379
port
:
6379
password
:
hniPdaqs4$8HH8m6KTP
password
:
ENC(dzBR0ihAkOs43UgnwmnQfFpmjbWvfqmtOIwwgra/+ik=)
lettuce
:
lettuce
:
pool
:
pool
:
max-active
:
-1
max-active
:
-1
...
@@ -131,8 +131,8 @@ spring:
...
@@ -131,8 +131,8 @@ spring:
datasource
:
datasource
:
master
:
master
:
url
:
jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
root
username
:
ENC(z8WG0Zar99IzLr3L9Z3mOw==)
password
:
AMrGBg6ZSsRrDLs6
password
:
ENC(r4U47DSf9LNRyoH/G6GxfA2w1JTZOwr7MREDyGA0PWM=)
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
devtools
:
devtools
:
restart
:
restart
:
...
@@ -187,3 +187,8 @@ management:
...
@@ -187,3 +187,8 @@ management:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
#jasypt加密的盐值
#jasypt.encryptor.password=erp
jasypt
:
encryptor
:
password
:
schoolCenterErp
new-user/src/main/resources/application-test.yml
View file @
4a1950a4
...
@@ -100,8 +100,8 @@ spring:
...
@@ -100,8 +100,8 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
172.18.101.171
host
:
172.18.101.171
port
:
5672
port
:
5672
username
:
guest
username
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
password
:
guest
password
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
redis
:
redis
:
# 是否使用集群模式
# 是否使用集群模式
clusterWhether
:
false
clusterWhether
:
false
...
@@ -133,8 +133,8 @@ spring:
...
@@ -133,8 +133,8 @@ spring:
datasource
:
datasource
:
master
:
master
:
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
yzzx
username
:
ENC(CT4X/xOJCLwK1IJtuZZN/A==)
password
:
yzzx123!@#
password
:
ENC(IQRisTAAktGkj1rrrEvpXpImI0FyRfda)
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
devtools
:
devtools
:
restart
:
restart
:
...
@@ -191,4 +191,8 @@ management:
...
@@ -191,4 +191,8 @@ management:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
#jasypt加密的盐值
#jasypt.encryptor.password=erp
jasypt
:
encryptor
:
password
:
schoolCenterErp
new-user/src/main/resources/application.yml
View file @
4a1950a4
...
@@ -99,8 +99,8 @@ spring:
...
@@ -99,8 +99,8 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
123.56.82.141
host
:
123.56.82.141
port
:
5672
port
:
5672
username
:
guest
username
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
password
:
guest
password
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
redis
:
redis
:
# 是否使用集群模式
# 是否使用集群模式
clusterWhether
:
false
clusterWhether
:
false
...
@@ -123,6 +123,9 @@ spring:
...
@@ -123,6 +123,9 @@ spring:
exprie
:
600
exprie
:
600
prohibition
:
600
prohibition
:
600
datasource
:
datasource
:
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
ENC(CT4X/xOJCLwK1IJtuZZN/A==)
password
:
ENC(IQRisTAAktGkj1rrrEvpXpImI0FyRfda)
dynamic
:
dynamic
:
primary
:
master
primary
:
master
p6spy
:
true
p6spy
:
true
...
@@ -190,4 +193,8 @@ management:
...
@@ -190,4 +193,8 @@ management:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
#jasypt加密的盐值
#jasypt.encryptor.password=erp
jasypt
:
encryptor
:
password
:
schoolCenterErp
old-user/pom.xml
View file @
4a1950a4
...
@@ -124,6 +124,10 @@
...
@@ -124,6 +124,10 @@
<artifactId>
common
</artifactId>
<artifactId>
common
</artifactId>
<version>
${service.version}
</version>
<version>
${service.version}
</version>
</dependency>
</dependency>
<dependency>
<groupId>
com.github.ulisesbocchio
</groupId>
<artifactId>
jasypt-spring-boot-starter
</artifactId>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
...
@@ -167,4 +171,4 @@
...
@@ -167,4 +171,4 @@
</properties>
</properties>
</profile>
</profile>
</profiles>
</profiles>
</project>
</project>
\ No newline at end of file
old-user/src/main/resources/application-local.yml
View file @
4a1950a4
...
@@ -96,8 +96,8 @@ spring:
...
@@ -96,8 +96,8 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
localhost
host
:
localhost
port
:
5672
port
:
5672
username
:
guest
username
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
password
:
guest
password
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
redis
:
redis
:
# 是否使用集群模式
# 是否使用集群模式
clusterWhether
:
false
clusterWhether
:
false
...
@@ -108,7 +108,7 @@ spring:
...
@@ -108,7 +108,7 @@ spring:
database
:
0
database
:
0
host
:
localhost
host
:
localhost
port
:
6379
port
:
6379
password
:
password
:
ENC(dzBR0ihAkOs43UgnwmnQfFpmjbWvfqmtOIwwgra/+ik=)
lettuce
:
lettuce
:
pool
:
pool
:
max-active
:
-1
max-active
:
-1
...
@@ -187,4 +187,8 @@ management:
...
@@ -187,4 +187,8 @@ management:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
#jasypt加密的盐值
#jasypt.encryptor.password=erp
jasypt
:
encryptor
:
password
:
schoolCenterErp
old-user/src/main/resources/application-prod.yml
View file @
4a1950a4
...
@@ -97,7 +97,7 @@ spring:
...
@@ -97,7 +97,7 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
localhost
host
:
localhost
port
:
5672
port
:
5672
username
:
root
username
:
ENC(z8WG0Zar99IzLr3L9Z3mOw==)
password
:
root
password
:
root
redis
:
redis
:
clusterWhether
:
false
clusterWhether
:
false
...
@@ -108,7 +108,7 @@ spring:
...
@@ -108,7 +108,7 @@ spring:
database
:
0
database
:
0
host
:
localhost
host
:
localhost
port
:
6379
port
:
6379
password
:
hniPdaqs4$8HH8m6KTP
password
:
ENC(dzBR0ihAkOs43UgnwmnQfFpmjbWvfqmtOIwwgra/+ik=)
lettuce
:
lettuce
:
pool
:
pool
:
max-active
:
-1
max-active
:
-1
...
@@ -129,8 +129,8 @@ spring:
...
@@ -129,8 +129,8 @@ spring:
datasource
:
datasource
:
master
:
master
:
url
:
jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
root
username
:
ENC(z8WG0Zar99IzLr3L9Z3mOw==)
password
:
AMrGBg6ZSsRrDLs6
password
:
ENC(r4U47DSf9LNRyoH/G6GxfA2w1JTZOwr7MREDyGA0PWM=)
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
devtools
:
devtools
:
restart
:
restart
:
...
@@ -185,3 +185,8 @@ management:
...
@@ -185,3 +185,8 @@ management:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
#jasypt加密的盐值
#jasypt.encryptor.password=erp
jasypt
:
encryptor
:
password
:
schoolCenterErp
old-user/src/main/resources/application-test.yml
View file @
4a1950a4
...
@@ -97,8 +97,8 @@ spring:
...
@@ -97,8 +97,8 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
172.18.101.171
host
:
172.18.101.171
port
:
5672
port
:
5672
username
:
guest
username
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
password
:
guest
password
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
redis
:
redis
:
clusterWhether
:
false
clusterWhether
:
false
cluster
:
cluster
:
...
@@ -129,8 +129,8 @@ spring:
...
@@ -129,8 +129,8 @@ spring:
datasource
:
datasource
:
master
:
master
:
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
yzzx
username
:
ENC(CT4X/xOJCLwK1IJtuZZN/A==)
password
:
yzzx123!@#
password
:
ENC(IQRisTAAktGkj1rrrEvpXpImI0FyRfda)
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
devtools
:
devtools
:
restart
:
restart
:
...
@@ -184,4 +184,9 @@ management:
...
@@ -184,4 +184,9 @@ management:
endpoints
:
endpoints
:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
\ No newline at end of file
#jasypt加密的盐值
#jasypt.encryptor.password=erp
jasypt
:
encryptor
:
password
:
schoolCenterErp
old-user/src/main/resources/application.yml
View file @
4a1950a4
...
@@ -98,8 +98,8 @@ spring:
...
@@ -98,8 +98,8 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
localhost
host
:
localhost
port
:
5672
port
:
5672
username
:
guest
username
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
password
:
guest
password
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
redis
:
redis
:
# 是否使用集群模式
# 是否使用集群模式
clusterWhether
:
false
clusterWhether
:
false
...
@@ -122,6 +122,9 @@ spring:
...
@@ -122,6 +122,9 @@ spring:
exprie
:
600
exprie
:
600
prohibition
:
600
prohibition
:
600
datasource
:
datasource
:
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
ENC(CT4X/xOJCLwK1IJtuZZN/A==)
password
:
ENC(IQRisTAAktGkj1rrrEvpXpImI0FyRfda)
dynamic
:
dynamic
:
primary
:
master
primary
:
master
p6spy
:
true
p6spy
:
true
...
@@ -189,4 +192,8 @@ management:
...
@@ -189,4 +192,8 @@ management:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
#jasypt加密的盐值
#jasypt.encryptor.password=erp
jasypt
:
encryptor
:
password
:
schoolCenterErp
pom.xml
View file @
4a1950a4
...
@@ -35,11 +35,28 @@
...
@@ -35,11 +35,28 @@
<commons-net.version>
3.3
</commons-net.version>
<commons-net.version>
3.3
</commons-net.version>
<p6spy.version>
3.8.0
</p6spy.version>
<p6spy.version>
3.8.0
</p6spy.version>
<dynamic-datasource.version>
2.5.6
</dynamic-datasource.version>
<dynamic-datasource.version>
2.5.6
</dynamic-datasource.version>
<jasypt.version>
2.0.0
</jasypt.version>
<jasypt2.version>
2.0.0
</jasypt2.version>
</properties>
</properties>
<dependencyManagement>
<dependencyManagement>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
com.github.ulisesbocchio
</groupId>
<artifactId>
jasypt-spring-boot-starter
</artifactId>
<version>
${jasypt.version}
</version>
</dependency>
<dependency>
<groupId>
com.github.ulisesbocchio
</groupId>
<artifactId>
jasypt-spring-boot
</artifactId>
<version>
${jasypt.version}
</version>
</dependency>
<dependency>
<groupId>
com.melloware
</groupId>
<artifactId>
jasypt
</artifactId>
<version>
${jasypt2.version}
</version>
</dependency>
<dependency>
<groupId>
com.winsun.framework
</groupId>
<groupId>
com.winsun.framework
</groupId>
<artifactId>
winsun-core-common
</artifactId>
<artifactId>
winsun-core-common
</artifactId>
<version>
${winsun-framework.version}
</version>
<version>
${winsun-framework.version}
</version>
...
@@ -86,6 +103,7 @@
...
@@ -86,6 +103,7 @@
<groupId>
com.alibaba
</groupId>
<groupId>
com.alibaba
</groupId>
<version>
${druid.version}
</version>
<version>
${druid.version}
</version>
</dependency>
</dependency>
</dependencies>
</dependencies>
</dependencyManagement>
</dependencyManagement>
...
@@ -109,4 +127,4 @@
...
@@ -109,4 +127,4 @@
</snapshots>
</snapshots>
</repository>
</repository>
</repositories>
</repositories>
</project>
</project>
\ No newline at end of file
renewal-user/pom.xml
View file @
4a1950a4
...
@@ -124,6 +124,10 @@
...
@@ -124,6 +124,10 @@
<artifactId>
common
</artifactId>
<artifactId>
common
</artifactId>
<version>
${service.version}
</version>
<version>
${service.version}
</version>
</dependency>
</dependency>
<!-- <dependency>-->
<!-- <groupId>com.github.ulisesbocchio</groupId>-->
<!-- <artifactId>jasypt-spring-boot-starter</artifactId>-->
<!-- </dependency>-->
</dependencies>
</dependencies>
<build>
<build>
...
@@ -167,4 +171,4 @@
...
@@ -167,4 +171,4 @@
</properties>
</properties>
</profile>
</profile>
</profiles>
</profiles>
</project>
</project>
\ No newline at end of file
renewal-user/src/main/resources/application-local.yml
View file @
4a1950a4
...
@@ -96,8 +96,8 @@ spring:
...
@@ -96,8 +96,8 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
172.18.101.171
host
:
172.18.101.171
port
:
5672
port
:
5672
username
:
guest
username
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
password
:
guest
password
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
redis
:
redis
:
# 是否使用集群模式
# 是否使用集群模式
clusterWhether
:
false
clusterWhether
:
false
...
@@ -108,7 +108,7 @@ spring:
...
@@ -108,7 +108,7 @@ spring:
database
:
0
database
:
0
host
:
localhost
host
:
localhost
port
:
6379
port
:
6379
password
:
password
:
ENC(dzBR0ihAkOs43UgnwmnQfFpmjbWvfqmtOIwwgra/+ik=)
lettuce
:
lettuce
:
pool
:
pool
:
max-active
:
-1
max-active
:
-1
...
@@ -187,4 +187,8 @@ management:
...
@@ -187,4 +187,8 @@ management:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
#jasypt加密的盐值
#jasypt.encryptor.password=erp
jasypt
:
encryptor
:
password
:
schoolCenterErp
renewal-user/src/main/resources/application-prod.yml
View file @
4a1950a4
...
@@ -97,7 +97,7 @@ spring:
...
@@ -97,7 +97,7 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
localhost
host
:
localhost
port
:
5672
port
:
5672
username
:
root
username
:
ENC(z8WG0Zar99IzLr3L9Z3mOw==)
password
:
root
password
:
root
redis
:
redis
:
clusterWhether
:
false
clusterWhether
:
false
...
@@ -108,7 +108,7 @@ spring:
...
@@ -108,7 +108,7 @@ spring:
database
:
0
database
:
0
host
:
localhost
host
:
localhost
port
:
6379
port
:
6379
password
:
hniPdaqs4$8HH8m6KTP
password
:
ENC(dzBR0ihAkOs43UgnwmnQfFpmjbWvfqmtOIwwgra/+ik=)
lettuce
:
lettuce
:
pool
:
pool
:
max-active
:
-1
max-active
:
-1
...
@@ -129,8 +129,8 @@ spring:
...
@@ -129,8 +129,8 @@ spring:
datasource
:
datasource
:
master
:
master
:
url
:
jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
root
username
:
ENC(z8WG0Zar99IzLr3L9Z3mOw==)
password
:
AMrGBg6ZSsRrDLs6
password
:
ENC(r4U47DSf9LNRyoH/G6GxfA2w1JTZOwr7MREDyGA0PWM=)
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
devtools
:
devtools
:
restart
:
restart
:
...
@@ -185,3 +185,8 @@ management:
...
@@ -185,3 +185,8 @@ management:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
#jasypt加密的盐值
#jasypt.encryptor.password=erp
jasypt
:
encryptor
:
password
:
schoolCenterErp
renewal-user/src/main/resources/application-test.yml
View file @
4a1950a4
...
@@ -97,8 +97,8 @@ spring:
...
@@ -97,8 +97,8 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
172.18.101.171
host
:
172.18.101.171
port
:
5672
port
:
5672
username
:
guest
username
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
password
:
guest
password
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
redis
:
redis
:
clusterWhether
:
false
clusterWhether
:
false
cluster
:
cluster
:
...
@@ -129,8 +129,8 @@ spring:
...
@@ -129,8 +129,8 @@ spring:
datasource
:
datasource
:
master
:
master
:
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
yzzx
username
:
ENC(CT4X/xOJCLwK1IJtuZZN/A==)
password
:
yzzx123!@#
password
:
ENC(IQRisTAAktGkj1rrrEvpXpImI0FyRfda)
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
devtools
:
devtools
:
restart
:
restart
:
...
@@ -184,4 +184,9 @@ management:
...
@@ -184,4 +184,9 @@ management:
endpoints
:
endpoints
:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
\ No newline at end of file
#jasypt加密的盐值
#jasypt.encryptor.password=erp
jasypt
:
encryptor
:
password
:
schoolCenterErp
renewal-user/src/main/resources/application.yml
View file @
4a1950a4
...
@@ -96,8 +96,8 @@ spring:
...
@@ -96,8 +96,8 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
172.18.101.171
host
:
172.18.101.171
port
:
5672
port
:
5672
username
:
guest
username
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
password
:
guest
password
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
redis
:
redis
:
# 是否使用集群模式
# 是否使用集群模式
clusterWhether
:
false
clusterWhether
:
false
...
@@ -120,6 +120,9 @@ spring:
...
@@ -120,6 +120,9 @@ spring:
exprie
:
600
exprie
:
600
prohibition
:
600
prohibition
:
600
datasource
:
datasource
:
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
ENC(CT4X/xOJCLwK1IJtuZZN/A==)
password
:
ENC(IQRisTAAktGkj1rrrEvpXpImI0FyRfda)
dynamic
:
dynamic
:
primary
:
master
primary
:
master
p6spy
:
true
p6spy
:
true
...
@@ -187,4 +190,8 @@ management:
...
@@ -187,4 +190,8 @@ management:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
#jasypt加密的盐值
#jasypt.encryptor.password=erp
jasypt
:
encryptor
:
password
:
schoolCenterErp
service-manager/pom.xml
View file @
4a1950a4
...
@@ -135,7 +135,7 @@
...
@@ -135,7 +135,7 @@
<groupId>
com.winsun.framework
</groupId>
<groupId>
com.winsun.framework
</groupId>
<artifactId>
winsun-core-service
</artifactId>
<artifactId>
winsun-core-service
</artifactId>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
dom4j
</groupId>
<groupId>
dom4j
</groupId>
<artifactId>
dom4j
</artifactId>
<artifactId>
dom4j
</artifactId>
...
@@ -149,7 +149,7 @@
...
@@ -149,7 +149,7 @@
<artifactId>
log4j
</artifactId>
<artifactId>
log4j
</artifactId>
<version>
1.2.17
</version>
<version>
1.2.17
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
commons-logging
</groupId>
<groupId>
commons-logging
</groupId>
<artifactId>
commons-logging
</artifactId>
<artifactId>
commons-logging
</artifactId>
...
@@ -164,6 +164,10 @@
...
@@ -164,6 +164,10 @@
<artifactId>
commons-httpclient
</artifactId>
<artifactId>
commons-httpclient
</artifactId>
<version>
3.0.1
</version>
<version>
3.0.1
</version>
</dependency>
</dependency>
<dependency>
<groupId>
com.github.ulisesbocchio
</groupId>
<artifactId>
jasypt-spring-boot-starter
</artifactId>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
...
@@ -220,4 +224,4 @@
...
@@ -220,4 +224,4 @@
</properties>
</properties>
</profile>
</profile>
</profiles>
</profiles>
</project>
</project>
\ No newline at end of file
service-manager/src/main/resources/application-local.yml
View file @
4a1950a4
...
@@ -97,8 +97,8 @@ spring:
...
@@ -97,8 +97,8 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
123.56.82.141
host
:
123.56.82.141
port
:
5672
port
:
5672
username
:
guest
username
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
password
:
guest
password
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
redis
:
redis
:
clusterWhether
:
false
clusterWhether
:
false
cluster
:
cluster
:
...
@@ -108,7 +108,7 @@ spring:
...
@@ -108,7 +108,7 @@ spring:
database
:
0
database
:
0
host
:
localhost
host
:
localhost
port
:
6379
port
:
6379
password
:
password
:
ENC(dzBR0ihAkOs43UgnwmnQfFpmjbWvfqmtOIwwgra/+ik=)
lettuce
:
lettuce
:
pool
:
pool
:
max-active
:
-1
max-active
:
-1
...
...
service-manager/src/main/resources/application-prod.yml
View file @
4a1950a4
...
@@ -97,7 +97,7 @@ spring:
...
@@ -97,7 +97,7 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
localhost
host
:
localhost
port
:
5672
port
:
5672
username
:
root
username
:
ENC(z8WG0Zar99IzLr3L9Z3mOw==)
password
:
root
password
:
root
redis
:
redis
:
clusterWhether
:
false
clusterWhether
:
false
...
@@ -108,7 +108,7 @@ spring:
...
@@ -108,7 +108,7 @@ spring:
database
:
0
database
:
0
host
:
localhost
host
:
localhost
port
:
6379
port
:
6379
password
:
hniPdaqs4$8HH8m6KTP
password
:
ENC(dzBR0ihAkOs43UgnwmnQfFpmjbWvfqmtOIwwgra/+ik=)
lettuce
:
lettuce
:
pool
:
pool
:
max-active
:
-1
max-active
:
-1
...
@@ -121,8 +121,8 @@ spring:
...
@@ -121,8 +121,8 @@ spring:
prohibition
:
600
prohibition
:
600
datasource
:
datasource
:
url
:
jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
root
username
:
ENC(z8WG0Zar99IzLr3L9Z3mOw==)
password
:
AMrGBg6ZSsRrDLs6
password
:
ENC(r4U47DSf9LNRyoH/G6GxfA2w1JTZOwr7MREDyGA0PWM=)
dynamic
:
dynamic
:
primary
:
master
primary
:
master
p6spy
:
true
p6spy
:
true
...
@@ -188,3 +188,8 @@ management:
...
@@ -188,3 +188,8 @@ management:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
#jasypt加密的盐值
#jasypt.encryptor.password=erp
jasypt
:
encryptor
:
password
:
schoolCenterErp
service-manager/src/main/resources/application-test.yml
View file @
4a1950a4
...
@@ -97,8 +97,8 @@ spring:
...
@@ -97,8 +97,8 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
172.18.101.171
host
:
172.18.101.171
port
:
5672
port
:
5672
username
:
guest
username
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
password
:
guest
password
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
redis
:
redis
:
clusterWhether
:
false
clusterWhether
:
false
cluster
:
cluster
:
...
@@ -129,8 +129,8 @@ spring:
...
@@ -129,8 +129,8 @@ spring:
datasource
:
datasource
:
master
:
master
:
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
yzzx
username
:
ENC(CT4X/xOJCLwK1IJtuZZN/A==)
password
:
yzzx123!@#
password
:
ENC(IQRisTAAktGkj1rrrEvpXpImI0FyRfda)
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
devtools
:
devtools
:
restart
:
restart
:
...
@@ -184,4 +184,4 @@ management:
...
@@ -184,4 +184,4 @@ management:
endpoints
:
endpoints
:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
\ No newline at end of file
service-manager/src/main/resources/application.yml
View file @
4a1950a4
...
@@ -98,8 +98,8 @@ spring:
...
@@ -98,8 +98,8 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
localhost
host
:
localhost
port
:
5672
port
:
5672
username
:
guest
username
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
password
:
guest
password
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
redis
:
redis
:
# 是否使用集群模式
# 是否使用集群模式
clusterWhether
:
false
clusterWhether
:
false
...
@@ -131,8 +131,8 @@ spring:
...
@@ -131,8 +131,8 @@ spring:
datasource
:
datasource
:
master
:
master
:
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
yzzx
username
:
ENC(CT4X/xOJCLwK1IJtuZZN/A==)
password
:
yzzx123!@#
password
:
ENC(IQRisTAAktGkj1rrrEvpXpImI0FyRfda)
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
devtools
:
devtools
:
restart
:
restart
:
...
@@ -189,4 +189,8 @@ management:
...
@@ -189,4 +189,8 @@ management:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
#jasypt加密的盐值
#jasypt.encryptor.password=erp
jasypt
:
encryptor
:
password
:
schoolCenterErp
task/pom.xml
View file @
4a1950a4
...
@@ -108,6 +108,10 @@
...
@@ -108,6 +108,10 @@
<groupId>
com.alibaba
</groupId>
<groupId>
com.alibaba
</groupId>
<artifactId>
fastjson
</artifactId>
<artifactId>
fastjson
</artifactId>
</dependency>
</dependency>
<dependency>
<groupId>
com.github.ulisesbocchio
</groupId>
<artifactId>
jasypt-spring-boot-starter
</artifactId>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
...
...
task/src/main/resources/application-local.yml
View file @
4a1950a4
...
@@ -96,8 +96,8 @@ spring:
...
@@ -96,8 +96,8 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
localhost
host
:
localhost
port
:
5672
port
:
5672
username
:
guest
username
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
password
:
guest
password
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
redis
:
redis
:
# 是否使用集群模式
# 是否使用集群模式
clusterWhether
:
false
clusterWhether
:
false
...
@@ -108,7 +108,7 @@ spring:
...
@@ -108,7 +108,7 @@ spring:
database
:
0
database
:
0
host
:
localhost
host
:
localhost
port
:
6379
port
:
6379
password
:
password
:
ENC(dzBR0ihAkOs43UgnwmnQfFpmjbWvfqmtOIwwgra/+ik=)
lettuce
:
lettuce
:
pool
:
pool
:
max-active
:
-1
max-active
:
-1
...
...
task/src/main/resources/application-prod.yml
View file @
4a1950a4
...
@@ -98,7 +98,7 @@ spring:
...
@@ -98,7 +98,7 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
localhost
host
:
localhost
port
:
5672
port
:
5672
username
:
root
username
:
ENC(z8WG0Zar99IzLr3L9Z3mOw==)
password
:
root
password
:
root
redis
:
redis
:
clusterWhether
:
false
clusterWhether
:
false
...
@@ -109,7 +109,7 @@ spring:
...
@@ -109,7 +109,7 @@ spring:
database
:
0
database
:
0
host
:
localhost
host
:
localhost
port
:
6379
port
:
6379
password
:
hniPdaqs4$8HH8m6KTP
password
:
ENC(dzBR0ihAkOs43UgnwmnQfFpmjbWvfqmtOIwwgra/+ik=)
lettuce
:
lettuce
:
pool
:
pool
:
max-active
:
-1
max-active
:
-1
...
@@ -122,8 +122,8 @@ spring:
...
@@ -122,8 +122,8 @@ spring:
prohibition
:
600
prohibition
:
600
datasource
:
datasource
:
url
:
jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
root
username
:
ENC(z8WG0Zar99IzLr3L9Z3mOw==)
password
:
AMrGBg6ZSsRrDLs6
password
:
ENC(r4U47DSf9LNRyoH/G6GxfA2w1JTZOwr7MREDyGA0PWM=)
filters
:
wall,mergeStat
filters
:
wall,mergeStat
max-active
:
20
max-active
:
20
devtools
:
devtools
:
...
@@ -181,3 +181,8 @@ management:
...
@@ -181,3 +181,8 @@ management:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
#jasypt加密的盐值
#jasypt.encryptor.password=erp
jasypt
:
encryptor
:
password
:
schoolCenterErp
task/src/main/resources/application-test.yml
View file @
4a1950a4
...
@@ -98,8 +98,8 @@ spring:
...
@@ -98,8 +98,8 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
172.18.101.171
host
:
172.18.101.171
port
:
5672
port
:
5672
username
:
guest
username
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
password
:
guest
password
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
redis
:
redis
:
clusterWhether
:
false
clusterWhether
:
false
cluster
:
cluster
:
...
@@ -122,8 +122,8 @@ spring:
...
@@ -122,8 +122,8 @@ spring:
prohibition
:
600
prohibition
:
600
datasource
:
datasource
:
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
yzzx
username
:
ENC(CT4X/xOJCLwK1IJtuZZN/A==)
password
:
yzzx123!@#
password
:
ENC(IQRisTAAktGkj1rrrEvpXpImI0FyRfda)
filters
:
wall,mergeStat
filters
:
wall,mergeStat
max-active
:
20
max-active
:
20
devtools
:
devtools
:
...
@@ -180,4 +180,9 @@ management:
...
@@ -180,4 +180,9 @@ management:
endpoints
:
endpoints
:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
\ No newline at end of file
#jasypt加密的盐值
#jasypt.encryptor.password=erp
jasypt
:
encryptor
:
password
:
schoolCenterErp
task/src/main/resources/application.yml
View file @
4a1950a4
...
@@ -96,8 +96,8 @@ spring:
...
@@ -96,8 +96,8 @@ spring:
rabbitmq
:
rabbitmq
:
host
:
localhost
host
:
localhost
port
:
5672
port
:
5672
username
:
guest
username
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
password
:
guest
password
:
ENC(Jm+qlQikhtTS1xupsT/bLQ==)
redis
:
redis
:
# 是否使用集群模式
# 是否使用集群模式
clusterWhether
:
false
clusterWhether
:
false
...
@@ -121,8 +121,8 @@ spring:
...
@@ -121,8 +121,8 @@ spring:
prohibition
:
600
prohibition
:
600
datasource
:
datasource
:
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username
:
yzzx
username
:
ENC(CT4X/xOJCLwK1IJtuZZN/A==)
password
:
yzzx123!@#
password
:
ENC(IQRisTAAktGkj1rrrEvpXpImI0FyRfda)
filters
:
wall,mergeStat
filters
:
wall,mergeStat
max-active
:
20
max-active
:
20
devtools
:
devtools
:
...
@@ -180,4 +180,9 @@ management:
...
@@ -180,4 +180,9 @@ management:
endpoints
:
endpoints
:
web
:
web
:
exposure
:
exposure
:
include
:
bus-refresh
include
:
bus-refresh
\ No newline at end of file
#jasypt加密的盐值
#jasypt.encryptor.password=erp
jasypt
:
encryptor
:
password
:
schoolCenterErp
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment