From fb66c0fd0f434ea46dfb2699525d5a59b019b457 Mon Sep 17 00:00:00 2001
From: haozhifeng <haozhifeng>
Date: 星期四, 12 八月 2021 10:43:23 +0800
Subject: [PATCH] 时间字段类型修改
---
operationlog.go | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/operationlog.go b/operationlog.go
index 019fec6..980a9d0 100644
--- a/operationlog.go
+++ b/operationlog.go
@@ -14,6 +14,7 @@
Para string `gorm:"column:para" json:"para"` // 鍙傛暟
Msg string `gorm:"column:msg" json:"msg"` // 閿欒娑堟伅
Ip string `gorm:"column:ip" json:"ip"` // 璇︽儏
+ AddTime string `gorm:"column:add_time" json:"add_time"` // 璇︽儏
}
func (l * OperationLog)Marshal()([]byte, error) {
--
Gitblit v1.8.0