修改引入路径移除src

This commit is contained in:
zqc
2026-01-04 09:45:46 +08:00
parent b5acaff392
commit b112566f73
17 changed files with 55 additions and 55 deletions

View File

@@ -7,7 +7,7 @@ from datetime import datetime
from fastapi import APIRouter, Depends, HTTPException, status, Query, BackgroundTasks
from fastapi.responses import JSONResponse
from src.schemas.face_feature import (
from schemas.face_feature import (
FaceFeatureCreate,
FaceFeatureUpdate,
FaceFeatureQuery,
@@ -17,17 +17,17 @@ from src.schemas.face_feature import (
BatchFaceFeatureCreate,
FeatureStatus
)
from src.api.dependencies import (
from api.dependencies import (
get_face_feature_service,
get_face_feature_by_id
)
from src.services.face_feature_service import FaceFeatureService
from src.api.errors import (
from services.face_feature_service import FaceFeatureService
from api.errors import (
FaceFeatureProcessingError,
FeatureNotFoundError,
DuplicateFeatureError
)
from src.config import settings
from config import settings
# 创建路由器
router = APIRouter(