refactor: 接口路径规范调整

This commit is contained in:
Ray.Hao
2025-12-07 23:45:14 +08:00
parent e1d7f0371d
commit caf4f4e5c0
3 changed files with 3 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ import org.springframework.security.access.prepost.PreAuthorize;
@RestController @RestController
@RequiredArgsConstructor @RequiredArgsConstructor
@Tag(name = "08.系统配置") @Tag(name = "08.系统配置")
@RequestMapping("/api/v1/config") @RequestMapping("/api/v1/configs")
public class ConfigController { public class ConfigController {
private final ConfigService configService; private final ConfigService configService;

View File

@@ -27,7 +27,7 @@ import java.util.List;
*/ */
@Tag(name = "05.部门接口") @Tag(name = "05.部门接口")
@RestController @RestController
@RequestMapping("/api/v1/dept") @RequestMapping("/api/v1/depts")
@RequiredArgsConstructor @RequiredArgsConstructor
public class DeptController { public class DeptController {

View File

@@ -1,5 +1,5 @@
server: server:
port: 8989 port: 8000
# 数据库类型:用于 MyBatis-Plus 分页方言等(仅方言,不负责连接信息) # 数据库类型:用于 MyBatis-Plus 分页方言等(仅方言,不负责连接信息)
app: app: