diff --git a/bocloud.sms.booter/src/main/java/com/bocloud/sms/booter/controller/IndexController.java b/bocloud.sms.booter/src/main/java/com/bocloud/sms/booter/controller/IndexDataController.java similarity index 87% rename from bocloud.sms.booter/src/main/java/com/bocloud/sms/booter/controller/IndexController.java rename to bocloud.sms.booter/src/main/java/com/bocloud/sms/booter/controller/IndexDataController.java index 65039b3..a3ce543 100644 --- a/bocloud.sms.booter/src/main/java/com/bocloud/sms/booter/controller/IndexController.java +++ b/bocloud.sms.booter/src/main/java/com/bocloud/sms/booter/controller/IndexDataController.java @@ -1,6 +1,5 @@ package com.bocloud.sms.booter.controller; -import com.bocloud.sms.entity.Department; import com.bocloud.sms.interfaces.IndexService; import com.megatron.common.model.GeneralResult; import com.megatron.common.model.Pager; @@ -12,11 +11,8 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; -import java.util.List; - /** * 首页 * @@ -26,7 +22,7 @@ import java.util.List; @RestController @RequestMapping("/v1/index") @Tag(name = "首页") -public class IndexController { +public class IndexDataController { @Autowired private IndexService indexService;