refactor: 接口路径规范调整
This commit is contained in:
@@ -29,7 +29,7 @@ import org.springframework.security.access.prepost.PreAuthorize;
|
||||
@RestController
|
||||
@RequiredArgsConstructor
|
||||
@Tag(name = "08.系统配置")
|
||||
@RequestMapping("/api/v1/config")
|
||||
@RequestMapping("/api/v1/configs")
|
||||
public class ConfigController {
|
||||
|
||||
private final ConfigService configService;
|
||||
|
||||
@@ -27,7 +27,7 @@ import java.util.List;
|
||||
*/
|
||||
@Tag(name = "05.部门接口")
|
||||
@RestController
|
||||
@RequestMapping("/api/v1/dept")
|
||||
@RequestMapping("/api/v1/depts")
|
||||
@RequiredArgsConstructor
|
||||
public class DeptController {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
server:
|
||||
port: 8989
|
||||
port: 8000
|
||||
|
||||
# 数据库类型:用于 MyBatis-Plus 分页方言等(仅方言,不负责连接信息)
|
||||
app:
|
||||
|
||||
Reference in New Issue
Block a user