feat: add versioned app chat API and fix release isolation bug

This commit is contained in:
wxy
2026-04-10 17:53:24 +08:00
parent af83980f99
commit 7869121382
3 changed files with 7 additions and 7 deletions

View File

@@ -63,7 +63,7 @@ def get_apps_by_id(db: Session, app_id: uuid.UUID) -> App:
return repo.get_apps_by_id(app_id)
def get_release_by_version(db: Session, app_id: uuid.UUID, release_id: uuid.UUID):
def get_release_by_id(db: Session, app_id: uuid.UUID, release_id: uuid.UUID):
"""根据发布版本ID查询发布快照仅返回激活状态"""
from app.models.app_release_model import AppRelease
return db.scalars(