diff --git a/pom.xml b/pom.xml index bd8efca..a8efe2d 100644 --- a/pom.xml +++ b/pom.xml @@ -9,34 +9,10 @@ 4.0.0 - EnrollStudent_independent + enrollStudent - org.apache.httpcomponents - httpclient - 4.3 - - - org.apache.httpcomponents - httpmime - 4.5.3 - - - org.thymeleaf - thymeleaf - 3.0.9.RELEASE - - - org.thymeleaf - thymeleaf-spring4 - 3.0.9.RELEASE - - - org.springframework.boot - spring-boot-starter-thymeleaf - - org.mybatis.generator mybatis-generator-core 1.3.5 diff --git a/src/main/java/com/sincere/student/controller/AdminController.java b/src/main/java/com/sincere/student/controller/AdminController.java index 24bfa6f..4dc5d14 100644 --- a/src/main/java/com/sincere/student/controller/AdminController.java +++ b/src/main/java/com/sincere/student/controller/AdminController.java @@ -12,6 +12,7 @@ import com.sincere.student.utils.Page; import com.sincere.student.utils.ResultException; 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.web.bind.annotation.*; @@ -180,6 +181,7 @@ public class AdminController { @RequestMapping(value = "/consult/getList" , method = RequestMethod.POST) public BaseDto> getConsultList(@RequestBody ConsultSearchDto consultSearchDto){ BaseDto> result = new BaseDto<>() ; + consultSearchDto.setStatus(0); Page page = consultService.getList(consultSearchDto); result.setData(page); return result ; @@ -229,6 +231,7 @@ public class AdminController { @RequestMapping(value = "/video/getList" , method = RequestMethod.POST) public BaseDto> getVideoList(@RequestBody VideoSearchDto videoSearchDto){ BaseDto> result = new BaseDto<>() ; + videoSearchDto.setStatus(0); Page