From df60376aa48cc3530353726a34b1fa8904eb9d6b Mon Sep 17 00:00:00 2001 From: zyj <18107291228@163.com> Date: Fri, 12 Sep 2025 18:30:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/profile.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/profile.go b/models/profile.go index 7f49e0d..1905b3c 100644 --- a/models/profile.go +++ b/models/profile.go @@ -3,8 +3,8 @@ package models import "time" type Profile struct { - ID int8 `gorm:"id;primary_key"` - UserId int8 `gorm:"user_id"` + ID int64 `gorm:"id;primary_key"` + UserId int64 `gorm:"user_id"` Nickname string `gorm:"nickname"` Email string `gorm:"email"` Phone string `gorm:"phone"`