refactor(admin): 优化管理员认证接口命名
- 将 AdminAuthController 类的 @Api 注解中的 tags 属性从 "管理员认证接口"修改为 "管理员认证" - 删除了未使用的 AdminController 类
This commit is contained in:
parent
8b72b98856
commit
1dc6e44e8b
|
|
@ -23,7 +23,7 @@ import java.util.Optional;
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/api/admin/auth")
|
@RequestMapping("/api/admin/auth")
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
@Api(tags = {"管理员认证接口"})
|
@Api(tags = {"管理员认证"})
|
||||||
public class AdminAuthController {
|
public class AdminAuthController {
|
||||||
|
|
||||||
private final AdminMapper adminMapper;
|
private final AdminMapper adminMapper;
|
||||||
|
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
package com.example.admin_server.controller.admin;
|
|
||||||
|
|
||||||
import io.swagger.annotations.Api;
|
|
||||||
import lombok.RequiredArgsConstructor;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
|
||||||
|
|
||||||
@RestController
|
|
||||||
@RequestMapping("/api/admin")
|
|
||||||
@RequiredArgsConstructor
|
|
||||||
@Api(tags = {"管理员接口"})
|
|
||||||
public class AdminController {
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue