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 8d0dff360a0aa671bb7f8cff7e476eea795363d5..e927b02e38271c4613069d85bbbb5438d83a7af0 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 f1f02cfc08bc4c363d849a75066bce591564ec74..3b2d5c170b7112c255b36189659348b2ffae704c 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 742e6f3dd3552c4b7befc4b82135fe76c5efbb31..a260fef1619bd4679472862b70fc565dcdd914f1 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; - /** * 用户接口 *