config_center/app/api/api.py
guyue55 e71d485629 1. 去除重复的pages.py
2. 编辑和删除操作增加鼠标悬停提示
3. 搜索栏布局的优化工作:

- 调整了搜索框容器的宽度和间距
- 优化了搜索框组件的弹性布局
- 设置了下拉框和按钮的最小宽度
- 改进了按钮的对齐方式和间距
- 优化了移动端的响应式布局
2025-03-04 13:23:43 +08:00

10 lines
359 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

from fastapi import APIRouter
from app.api.endpoints import types, configs
api_router = APIRouter()
# 页面路由已移至 app.api.pages.py
# API路由不带前缀因为前缀在main.py中添加
api_router.include_router(types.router, prefix="/types", tags=["types"])
api_router.include_router(configs.router, prefix="/configs", tags=["configs"])