Browse Source

无用依赖删除

master
WendyYang 6 months ago
parent
commit
fb84377dff
4 changed files with 13 additions and 15 deletions
  1. +5
    -12
      kqapi/pom.xml
  2. +2
    -0
      kqapi/src/main/java/com/ningdatech/kqapi/admin/controller/ZoneController.java
  3. +1
    -2
      kqapi/target/classes/META-INF/spring-configuration-metadata.json
  4. +5
    -1
      pom.xml

+ 5
- 12
kqapi/pom.xml View File

@@ -36,10 +36,6 @@
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-extension</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-freemarker</artifactId>
</dependency>
<!--spring boot 集成redis所需common-pool2-->
<dependency>
<groupId>org.apache.commons</groupId>
@@ -74,8 +70,7 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
<scope>true</scope>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
@@ -128,12 +123,6 @@
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-models</artifactId>
<version>1.6.5</version>
</dependency>

<!--配置文件加密-->
<dependency>
<groupId>com.github.ulisesbocchio</groupId>
@@ -152,6 +141,10 @@
<groupId>org.springframework.session</groupId>
<artifactId>spring-session-data-redis</artifactId>
</dependency>
<dependency>
<groupId>com.ningdatech</groupId>
<artifactId>nd-swagger2-starter</artifactId>
</dependency>
</dependencies>
<!-- 打包 -->
<!--配置环境的profile-->


+ 2
- 0
kqapi/src/main/java/com/ningdatech/kqapi/admin/controller/ZoneController.java View File

@@ -39,6 +39,8 @@ public class ZoneController {
}

@DeleteMapping("/del")
@WebLog("专区删除")
@ApiOperation("专区删除")
public void delete(@RequestBody IdVo<Integer> id) {
zoneManage.delete(id);
}


+ 1
- 2
kqapi/target/classes/META-INF/spring-configuration-metadata.json View File

@@ -85,8 +85,7 @@
{
"name": "security.auth.post-only-by-login",
"type": "java.lang.Boolean",
"sourceType": "com.ningdatech.kqapi.security.AuthProperties",
"defaultValue": true
"sourceType": "com.ningdatech.kqapi.security.AuthProperties"
},
{
"name": "security.auth.role-map",


+ 5
- 1
pom.xml View File

@@ -111,7 +111,11 @@
<artifactId>joda-time</artifactId>
<version>2.10.6</version>
</dependency>

<dependency>
<groupId>com.ningdatech</groupId>
<artifactId>nd-swagger2-starter</artifactId>
<version>1.0.0</version>
</dependency>
</dependencies>
</dependencyManagement>



Loading…
Cancel
Save