From 0e489fccfec6343aac3471fcc20b2dec090746dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B2=E8=BE=B0=E7=94=9F=E4=BA=A7?= Date: Tue, 31 Mar 2026 17:42:04 +0800 Subject: [PATCH] =?UTF-8?q?v1.2.31:=20=E4=BF=AE=E5=A4=8D=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E7=94=A8=E6=88=B7=E8=97=8F=E5=93=81=E6=95=B0?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98=EF=BC=8C=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E8=B5=84=E8=AE=AF=E9=A1=B5=E9=9D=A2is=5Fmatched=E5=AD=97?= =?UTF-8?q?=E6=AE=B5NULL=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VERSION | 2 +- backend/app/routers/information.py | 2 +- frontend/src/pages/Admin.jsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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}