From c8d4a56f0e2f6794ef68abaca4b281fb9f26402c Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期三, 01 十二月 2021 17:15:42 +0800
Subject: [PATCH] 修复gorm 列名称

---
 ruleServerLog.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ruleServerLog.go b/ruleServerLog.go
index 04aea9b..980fdbd 100644
--- a/ruleServerLog.go
+++ b/ruleServerLog.go
@@ -19,7 +19,7 @@
 	TotalFailure  int    `gorm:"column:totalFailure" json:"totalFailure"`
 	TotalCached   string `gorm:"column:totalCached" json:"totalCached"`
 	LastSendDate  string `gorm:"column:lastSendDate" json:"lastSendDate"`
-	LastSendState string `gorm:"column:lastSendDate" json:"lastSendDate"`
+	LastSendState string `gorm:"column:lastSendState" json:"lastSendState"`
 	CreateDate    string `gorm:"column:createDate" json:"createDate"`
 }
 

--
Gitblit v1.8.0