From f015601f3d915f48a4f73b7b65d27489e22c1d5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=9C=B1=E8=A1=A1?= Date: Tue, 22 Mar 2022 19:15:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E2=9C=A8=20deleted=20at=20=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E8=BD=AF=E5=88=A0=E6=94=AF=E6=8C=81?= 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 5a16c30..ed32fbc 100755 --- a/data/view/model/common.go +++ b/data/view/model/common.go @@ -181,7 +181,7 @@ func getGormModelElement() []EmInfo { result = append(result, EmInfo{ IsMulti: false, Notes: "deleted time", - Type: "time.Time", // Type.类型标记 + Type: "gorm.DeletedAt", // Type.类型标记 ColName: "deleted_at", ColNameEx: "deleted_at", ColStructName: "DeletedAt",