From 4ab6937632d6e57a055673ab3ac0d0f9c1e47767 Mon Sep 17 00:00:00 2001 From: yyds Date: Fri, 22 Apr 2022 17:21:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8D=20deleted=5Fat=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/view/model/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/view/model/common.go b/data/view/model/common.go index 5171861..3ad03cf 100644 --- a/data/view/model/common.go +++ b/data/view/model/common.go @@ -124,7 +124,7 @@ func getGormModelElement() []EmInfo { result = append(result, EmInfo{ IsMulti: false, Notes: "deleted time", - Type: "gorm.DeletedAt", // Type.类型标记 + Type: "time.Time", // Type.类型标记 ColName: "deleted_at", ColStructName: "DeletedAt", })