diff --git a/VERSION b/VERSION index 93e5fdb..0848465 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -VERSION=1.2.26 +1.2.31 diff --git a/backend/app/routers/information.py b/backend/app/routers/information.py index 25ad5fc..d13a100 100644 --- a/backend/app/routers/information.py +++ b/backend/app/routers/information.py @@ -58,7 +58,7 @@ class InformationResponse(BaseModel): deal_price: Optional[float] deal_date: Optional[date] status: str - is_matched: str = "pending" + is_matched: Optional[str] = "pending" matched_user_id: Optional[str] = None matched_contact: Optional[str] = None view_count: int diff --git a/frontend/src/pages/Admin.jsx b/frontend/src/pages/Admin.jsx index 2ac413b..52a9fd9 100644 --- a/frontend/src/pages/Admin.jsx +++ b/frontend/src/pages/Admin.jsx @@ -205,7 +205,7 @@ export default function Admin() {
藏品数
-
window.location.hash = '#/list?userId=' + user.id} title='点击查看'>{user.collection_count || 0}
+
window.location.hash = '#/list?userId=' + user.id} title='点击查看'>{user.collectionCount || 0}