From 0508e072c5c4fb30657a3dfb1c0a51091b5ad965 Mon Sep 17 00:00:00 2001 From: duanledexianxianxian Date: Wed, 20 May 2020 17:09:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8C=85=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../demo/{contoller => controller}/HomeController.java | 2 +- .../demo/{contoller => controller}/MenuController.java | 3 +-- .../demo/{contoller => controller}/UserController.java | 8 +------- 3 files changed, 3 insertions(+), 10 deletions(-) rename demo/src/main/java/com/duanledexianxianxian/demo/{contoller => controller}/HomeController.java (91%) rename demo/src/main/java/com/duanledexianxianxian/demo/{contoller => controller}/MenuController.java (91%) rename demo/src/main/java/com/duanledexianxianxian/demo/{contoller => controller}/UserController.java (89%) diff --git a/demo/src/main/java/com/duanledexianxianxian/demo/contoller/HomeController.java b/demo/src/main/java/com/duanledexianxianxian/demo/controller/HomeController.java similarity index 91% rename from demo/src/main/java/com/duanledexianxianxian/demo/contoller/HomeController.java rename to demo/src/main/java/com/duanledexianxianxian/demo/controller/HomeController.java index 8d0dff3..e927b02 100644 --- a/demo/src/main/java/com/duanledexianxianxian/demo/contoller/HomeController.java +++ b/demo/src/main/java/com/duanledexianxianxian/demo/controller/HomeController.java @@ -1,4 +1,4 @@ -package com.duanledexianxianxian.demo.contoller; +package com.duanledexianxianxian.demo.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; diff --git a/demo/src/main/java/com/duanledexianxianxian/demo/contoller/MenuController.java b/demo/src/main/java/com/duanledexianxianxian/demo/controller/MenuController.java similarity index 91% rename from demo/src/main/java/com/duanledexianxianxian/demo/contoller/MenuController.java rename to demo/src/main/java/com/duanledexianxianxian/demo/controller/MenuController.java index f1f02cf..3b2d5c1 100644 --- a/demo/src/main/java/com/duanledexianxianxian/demo/contoller/MenuController.java +++ b/demo/src/main/java/com/duanledexianxianxian/demo/controller/MenuController.java @@ -1,11 +1,10 @@ -package com.duanledexianxianxian.demo.contoller; +package com.duanledexianxianxian.demo.controller; import com.duanledexianxianxian.demo.domain.model.query.MenuForm; import com.duanledexianxianxian.demo.service.IMenuService; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.*; /** diff --git a/demo/src/main/java/com/duanledexianxianxian/demo/contoller/UserController.java b/demo/src/main/java/com/duanledexianxianxian/demo/controller/UserController.java similarity index 89% rename from demo/src/main/java/com/duanledexianxianxian/demo/contoller/UserController.java rename to demo/src/main/java/com/duanledexianxianxian/demo/controller/UserController.java index 742e6f3..a260fef 100644 --- a/demo/src/main/java/com/duanledexianxianxian/demo/contoller/UserController.java +++ b/demo/src/main/java/com/duanledexianxianxian/demo/controller/UserController.java @@ -1,25 +1,19 @@ -package com.duanledexianxianxian.demo.contoller; +package com.duanledexianxianxian.demo.controller; import com.baomidou.mybatisplus.core.metadata.IPage; import com.duanledexianxianxian.demo.common.util.BeanUtils; import com.duanledexianxianxian.demo.domain.dto.UserDTO; -import com.duanledexianxianxian.demo.domain.model.query.MenuForm; import com.duanledexianxianxian.demo.domain.model.query.UserForm; import com.duanledexianxianxian.demo.domain.model.query.UserQuery; -import com.duanledexianxianxian.demo.domain.model.vo.MenuVO; import com.duanledexianxianxian.demo.domain.model.vo.UserDetailVO; import com.duanledexianxianxian.demo.domain.model.vo.UserVO; -import com.duanledexianxianxian.demo.service.IMenuService; import com.duanledexianxianxian.demo.service.IUserService; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.util.CollectionUtils; import org.springframework.web.bind.annotation.*; -import java.awt.*; -import java.util.List; - /** * 用户接口 * -- GitLab