From 2d2a43a4f431129d73ce9c036897166803bac179 Mon Sep 17 00:00:00 2001 From: lmk <1095689763@qq.com> Date: Mon, 20 Apr 2026 10:48:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=BF=94=E5=9B=9E=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- beans/beans.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beans/beans.go b/beans/beans.go index 73aa8d6..9a26ed1 100644 --- a/beans/beans.go +++ b/beans/beans.go @@ -40,7 +40,7 @@ type MongoBaseDO struct { // SQLBaseDO SQL数据库基础实体 type SQLBaseDO struct { - Id int64 `orm:"id" json:"id"` // 主键ID + Id int64 `orm:"id" json:"id,string"` // 主键ID TenantId uint64 `orm:"tenant_id" json:"tenantId"` // 租户ID Creator string `orm:"creator" json:"creator"` // 创建人 CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间