From 7abcad0396c912b3f14570c0d12c904ce96d7f58 Mon Sep 17 00:00:00 2001 From: Kayee Date: Wed, 17 Dec 2025 09:54:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BB=93=E6=9E=84=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/mods/activity/schema/house.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/mods/activity/schema/house.go b/internal/mods/activity/schema/house.go index f4dc910..0f22273 100644 --- a/internal/mods/activity/schema/house.go +++ b/internal/mods/activity/schema/house.go @@ -10,7 +10,7 @@ type House struct { Name string `json:"name" gorm:"size:128;not null;index;comment:名字"` Title string `json:"title" gorm:"size:128;not null;index;comment:标题"` Cover string `json:"cover" gorm:"size:2048;not null;comment:封面"` - Price int64 `json:"price" gorm:"size:11;comment:价格"` + Price string `json:"price" gorm:"comment:价格"` Labels *[]string `json:"labels" gorm:"serializer:json;comment:标签数组"` Images *[]string `json:"images" gorm:"serializer:json;comment:详图数组"` Videos *[]string `json:"videos" gorm:"serializer:json;comment:视频数组"` @@ -112,7 +112,7 @@ type HouseForm struct { Name string `json:"name" ` Title string `json:"title" ` Cover string `json:"cover" ` - Price int64 `json:"price" ` + Price string `json:"price" ` Labels *[]string `json:"labels" ` Images *[]string `json:"images" ` Videos *[]string `json:"videos"`