diff --git a/luoo_user/src/main/java/com/luoo/user/controller/ManageAdminController.java b/luoo_user/src/main/java/com/luoo/user/controller/CMSAdminController.java similarity index 96% rename from luoo_user/src/main/java/com/luoo/user/controller/ManageAdminController.java rename to luoo_user/src/main/java/com/luoo/user/controller/CMSAdminController.java index 4c7f888..c2d8331 100644 --- a/luoo_user/src/main/java/com/luoo/user/controller/ManageAdminController.java +++ b/luoo_user/src/main/java/com/luoo/user/controller/CMSAdminController.java @@ -9,7 +9,6 @@ import org.springframework.web.bind.annotation.*; import com.luoo.user.pojo.Admin; import com.luoo.user.service.AdminService; -import annotation.GlobalInterceptor; import annotation.VerifyParam; import api.PageResult; import api.Result; @@ -28,9 +27,9 @@ import util.JwtUtil; */ @RestController @CrossOrigin -@RequestMapping("/admin") -@Api(tags = "ManageAdminController") -public class ManageAdminController { +@Api(tags = "雀跃管理用户后台CMS APIs") +@RequestMapping("/cms/admin") +public class CMSAdminController { @Autowired private AdminService adminService; diff --git a/luoo_user/src/main/java/com/luoo/user/controller/ManageUserController.java b/luoo_user/src/main/java/com/luoo/user/controller/CMSUserController.java similarity index 83% rename from luoo_user/src/main/java/com/luoo/user/controller/ManageUserController.java rename to luoo_user/src/main/java/com/luoo/user/controller/CMSUserController.java index 772a429..71821ec 100644 --- a/luoo_user/src/main/java/com/luoo/user/controller/ManageUserController.java +++ b/luoo_user/src/main/java/com/luoo/user/controller/CMSUserController.java @@ -1,42 +1,24 @@ package com.luoo.user.controller; -import java.io.IOException; import java.util.Arrays; -import java.util.HashMap; import java.util.List; import java.util.Map; -import java.util.concurrent.TimeUnit; import java.util.stream.Collectors; -import javax.servlet.http.HttpServletResponse; - import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; -import org.springframework.data.redis.core.RedisTemplate; import org.springframework.web.bind.annotation.*; -import constants.Constants; -import com.luoo.user.dto.response.CreateImageCode; -import com.luoo.user.pojo.Admin; import com.luoo.user.pojo.UserInfo; import com.luoo.user.service.UserInfoService; -import com.luoo.user.util.NickNameUtil; - -import annotation.GlobalInterceptor; import annotation.VerifyParam; import api.PageResult; import api.Result; -import api.StatusCode; -import enums.RequestFrequencyTypeEnum; -import enums.VerifyRegexEnum; import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParams; import io.swagger.annotations.ApiOperation; -import util.IdWorker; -import util.JwtUtil; -import util.StringTools; /** * 控制器层 @@ -47,9 +29,9 @@ import util.StringTools; @RestController @CrossOrigin -@RequestMapping("/manage_user") -@Api(tags = "ManageUserInfoController") -public class ManageUserController { +@Api(tags = "雀跃App用户后台CMS APIs") +@RequestMapping("/cms/user") +public class CMSUserController { @Autowired private UserInfoService userInfoService;