万盛配置文件

This commit is contained in:
lvleigang 2025-03-04 14:31:04 +08:00
parent 5d45dd740e
commit 0e5db6d0b4
4 changed files with 78 additions and 20 deletions

View File

@ -44,7 +44,12 @@
<profile.active>zqtlocal</profile.active> <profile.active>zqtlocal</profile.active>
</properties> </properties>
</profile> </profile>
<profile>
<id>wansheng</id> <!--万向-->
<properties>
<profile.active>wansheng</profile.active>
</properties>
</profile>
</profiles> </profiles>
<build> <build>
<finalName>kangarooDataCenterV3</finalName> <finalName>kangarooDataCenterV3</finalName>

View File

@ -0,0 +1,53 @@
#######################本地环境#######################
logging:
#日志级别 指定目录级别
level:
root: info
encodings: GBK
file:
# 日志保存路径
path: D:\yongansystem\log
spring:
data:
mongodb:
# host: 192.168.2.237
# port: 27017
# database: businesscenter
# auto-index-creation: true
# password: hzya1314
# username: hzya
flyway:
# 启动flyway migration, 默认为true
enabled: false
datasource:
dynamic:
druid:
filters: stat,log4j2
datasource:
master:
url: jdbc:mysql://127.0.0.1:3306/businesscenter?serverTimezone=UTC&useUnicode=true&characterEncoding=UTF8&serverTimezone=GMT%2B8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowLoadLocalInfile=false&autoReconnect=true&failOverReadOnly=false&connectTimeout=30000&socketTimeout=30000&autoReconnectForPools=true
username: root
password: 617e55dada79e04983a2dfcb3c63ad10
driver-class-name: com.mysql.jdbc.Driver # 3.2.0开始支持SPI可省略此配置
savefile:
# 文件保存路径
path: D:\yongansystem\file
tomcatpath: D:\yongansystem\apache-tomcat-9.0.97
pluginpath: D:\yongansystem\apache-tomcat-9.0.97\webapps\kangarooDataCenterV3\WEB-INF\classes
zt:
url: http://127.0.0.1:9082/kangarooDataCenterV3/entranceController/externalCallInterface
database:
# databaseName: businesscenter
# host: 192.168.2.237
# port: 3306
# username: root
# password: hzya@1314
# filePase: /Users/apple/Desktop/log
# fileName: data.sql
#sftp:
# host: 192.168.2.237
# port: 9091
# username: cs237
# password: hzya@1314
# filePase: /databaseBack

View File

@ -36,7 +36,7 @@ public class temButtom {
@Test @Test
public void test01() { public void test01() {
String a = AESUtil.encrypt("hzya@1314"); String a = AESUtil.encrypt("sa123!");
System.out.println(a); System.out.println(a);
String b = AESUtil.decrypt("62e4295b615a30dbf3b8ee96f41c820b"); String b = AESUtil.decrypt("62e4295b615a30dbf3b8ee96f41c820b");
System.out.println(b); System.out.println(b);

36
pom.xml
View File

@ -480,24 +480,24 @@
<include>**/*.jar</include> <include>**/*.jar</include>
</includes> </includes>
</resource> </resource>
<resource> <!-- <resource>-->
<directory>${basedir}/../fw-bip/src/main/webapp/WEB-INF/lib</directory> <!-- <directory>${basedir}/../fw-bip/src/main/webapp/WEB-INF/lib</directory>-->
<targetPath>WEB-INF/lib/</targetPath> <!-- <targetPath>WEB-INF/lib/</targetPath>-->
<filtering>false</filtering> <!-- <filtering>false</filtering>-->
<includes> <!-- <includes>-->
<!-- 匹配所有jar包 --> <!-- &lt;!&ndash; 匹配所有jar包 &ndash;&gt;-->
<include>**/*.jar</include> <!-- <include>**/*.jar</include>-->
</includes> <!-- </includes>-->
</resource> <!-- </resource>-->
<resource> <!-- <resource>-->
<directory>${basedir}/../fw-ningbobank/src/main/webapp/WEB-INF/lib</directory> <!-- <directory>${basedir}/../fw-ningbobank/src/main/webapp/WEB-INF/lib</directory>-->
<targetPath>WEB-INF/lib/</targetPath> <!-- <targetPath>WEB-INF/lib/</targetPath>-->
<filtering>false</filtering> <!-- <filtering>false</filtering>-->
<includes> <!-- <includes>-->
<!-- 匹配所有jar包 --> <!-- &lt;!&ndash; 匹配所有jar包 &ndash;&gt;-->
<include>**/*.jar</include> <!-- <include>**/*.jar</include>-->
</includes> <!-- </includes>-->
</resource> <!-- </resource>-->
</webResources> </webResources>
</configuration> </configuration>
</plugin> </plugin>