From 9e411a1a864951112ff47039425ee70d02c1d30b Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 27 Nov 2024 20:43:33 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E7=9F=A5=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/model/user_notice_time.go | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/src/model/user_notice_time.go b/src/model/user_notice_time.go index 880d46d..6d24e72 100644 --- a/src/model/user_notice_time.go +++ b/src/model/user_notice_time.go @@ -1,14 +1,10 @@ package model -import ( - "time" -) - type UserNoticeTime struct { - Id int `json:"id" xorm:"not null pk autoincr INT(11)"` - Uid int `json:"uid" xorm:"default 0 INT(11)"` - LoginNoticeTime time.Time `json:"login_notice_time" xorm:"DATETIME"` - SignNoticeTime time.Time `json:"sign_notice_time" xorm:"DATETIME"` - LoginTime time.Time `json:"login_time" xorm:"DATETIME"` - SignTime time.Time `json:"sign_time" xorm:"DATETIME"` + Id int `json:"id" xorm:"not null pk autoincr INT(11)"` + Uid int `json:"uid" xorm:"default 0 INT(11)"` + LoginNoticeTime int `json:"login_notice_time" xorm:"default 0 INT(11)"` + SignNoticeTime int `json:"sign_notice_time" xorm:"default 0 INT(11)"` + LoginTime int `json:"login_time" xorm:"default 0 INT(11)"` + SignTime int `json:"sign_time" xorm:"default 0 INT(11)"` }