From e87fad1ecd3fdf52fab2879973858b74db12967f Mon Sep 17 00:00:00 2001 From: guyuliang Date: Sun, 25 Aug 2024 16:45:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E6=8E=A7=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{IndexController.java => IndexDataController.java} | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) rename bocloud.sms.booter/src/main/java/com/bocloud/sms/booter/controller/{IndexController.java => IndexDataController.java} (87%) 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;