diff --git a/pom.xml b/pom.xml
index a8efe2d..e5c7e47 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,6 +12,27 @@
enrollStudent
+
+
+
+
+
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+
org.mybatis.generator
mybatis-generator-core
@@ -47,11 +68,7 @@
nimbus-jose-jwt
6.0
-
- org.springframework.boot
- spring-boot-starter-test
- test
-
+
org.apache.commons
commons-lang3
@@ -67,10 +84,7 @@
mssql-jdbc
6.4.0.jre8
-
- org.springframework.boot
- spring-boot-starter-web
-
+
org.apache.commons
commons-lang3
diff --git a/src/main/java/com/sincere/student/controller/AdminController.java b/src/main/java/com/sincere/student/controller/AdminController.java
index 32b4afe..bdff068 100644
--- a/src/main/java/com/sincere/student/controller/AdminController.java
+++ b/src/main/java/com/sincere/student/controller/AdminController.java
@@ -14,6 +14,8 @@ import com.sincere.student.utils.TokenUtils;
import io.swagger.annotations.ApiOperation;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.cache.annotation.CacheEvict;
+import org.springframework.cache.annotation.Cacheable;
import org.springframework.web.bind.annotation.*;
import java.util.ArrayList;
@@ -544,6 +546,15 @@ public class AdminController {
}
@MemberAccess
+ @ApiOperation("获取详情 栏目")
+ @RequestMapping(value = "/column/getDetail" , method = RequestMethod.POST)
+ public BaseDto createColumn(@RequestBody IdDto idDto){
+ BaseDto result = new BaseDto() ;
+ ColumnType c = columnService.selectDetail(idDto.getId());
+ return result ;
+ }
+
+ @MemberAccess
@ApiOperation("更新栏目(type : 1 文章 2学校 3视频)")
@RequestMapping(value = "/column/update" , method = RequestMethod.POST)
public BaseDto updateColumn(@RequestBody ColumnType columnType){
@@ -586,7 +597,7 @@ public class AdminController {
}
}else if(columnType.getType() == ColumnEnums.video.getType()){
VideoSearchDto videoSearchDto = new VideoSearchDto();
- videoSearchDto.setColumnTypeId(columnType.getId());
+ videoSearchDto.setColumnType(columnType.getId());
videoSearchDto.setPage(1);
videoSearchDto.setPageSize(10);
Page