From cfe28ea2bf05d9461d7d46ea688d81b88eb9f3a4 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 13 Dec 2024 10:30:22 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9F=AD=E5=89=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/model/playlet_total.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/model/playlet_total.go b/src/model/playlet_total.go index ff12c66..b0e8e1a 100644 --- a/src/model/playlet_total.go +++ b/src/model/playlet_total.go @@ -5,9 +5,10 @@ import ( ) type PlayletTotal struct { - Id int `json:"id" xorm:"not null pk autoincr INT(11)"` - Uid int `json:"uid" xorm:"INT(11)"` - Date int `json:"date" xorm:"default 0 INT(11)"` - Time time.Time `json:"time" xorm:"DATETIME"` - Total int `json:"total" xorm:"default 0 INT(11)"` + Id int `json:"id" xorm:"not null pk autoincr INT(11)"` + Uid int `json:"uid" xorm:"INT(11)"` + Date int `json:"date" xorm:"default 0 INT(11)"` + Time time.Time `json:"time" xorm:"DATETIME"` + Total int `json:"total" xorm:"default 0 INT(11)"` + ShortId string `json:"short_id" xorm:"default '0' VARCHAR(255)"` }