kingbase8
修改密码漏洞修复完成 1 month ago
parent f8672ae9d9
commit 6264fb84ac

@ -5,8 +5,9 @@
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="eacd3dd8-1e95-428c-a6af-1aadb9921989" name="Default Changelist" comment=""> <list default="true" id="eacd3dd8-1e95-428c-a6af-1aadb9921989" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/maven_install.sh" beforeDir="false" afterPath="$PROJECT_DIR$/maven_install.sh" afterDir="false" /> <change beforePath="$PROJECT_DIR$/maven_install.sh" beforeDir="false" afterPath="$PROJECT_DIR$/maven_install.sh" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/pom.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/com/rehome/mqttclienttemperature/AdminClientTemperatureApplication.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/rehome/mqttclienttemperature/AdminClientTemperatureApplication.java" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -194,6 +195,7 @@
<workItem from="1758043724642" duration="56000" /> <workItem from="1758043724642" duration="56000" />
<workItem from="1758043789777" duration="1094000" /> <workItem from="1758043789777" duration="1094000" />
<workItem from="1761029898205" duration="71000" /> <workItem from="1761029898205" duration="71000" />
<workItem from="1761968999056" duration="18000" />
</task> </task>
<servers /> <servers />
</component> </component>

@ -22,3 +22,4 @@ git config --global credential.helper store
#maven查看依赖树命令 #maven查看依赖树命令
mvn dependency:tree mvn dependency:tree
#mvn clean package -DskipTests

@ -11,7 +11,7 @@
<groupId>com.rehome</groupId> <groupId>com.rehome</groupId>
<artifactId>admin-client-temperature</artifactId> <artifactId>admin-client-temperature</artifactId>
<version>1.0.0</version> <version>1.0.0</version>
<packaging>jar</packaging> <packaging>war</packaging>
<name>admin-client-temperature</name> <name>admin-client-temperature</name>
<description>admin-client-temperature</description> <description>admin-client-temperature</description>
<properties> <properties>
@ -26,6 +26,20 @@
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId> <artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-undertow</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.mybatis.spring.boot</groupId> <groupId>org.mybatis.spring.boot</groupId>
@ -305,7 +319,7 @@
</repository> </repository>
</repositories> </repositories>
<build> <build>
<finalName>${project.artifactId}</finalName> <finalName>${project.artifactId}-kingbase</finalName>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>

@ -22,7 +22,7 @@ import java.util.Map;
@EnableScheduling @EnableScheduling
@EnableAsync @EnableAsync
@SpringBootApplication @SpringBootApplication
public class AdminClientTemperatureApplication implements CommandLineRunner, ApplicationContextAware { public class AdminClientTemperatureApplication extends SpringBootServletInitializer implements CommandLineRunner, ApplicationContextAware {
/** /**
* Spring * Spring
@ -68,4 +68,14 @@ public class AdminClientTemperatureApplication implements CommandLineRunner, App
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException { public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
this.applicationContext = applicationContext; this.applicationContext = applicationContext;
} }
/**
* @date 2021-05-18 09:20
* @description: springbootwar springboot
* @Param: SpringApplicationBuilder
*/
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
return builder.sources(AdminClientTemperatureApplication.class);
}
} }
Loading…
Cancel
Save