From 31ec847ab2407e5798b2870d3ab6b0fecff6f7c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Wed, 31 May 2023 09:41:52 +0800 Subject: [PATCH] =?UTF-8?q?enhance(model):=E6=94=B9=E8=BF=9B=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E4=BC=9A=E8=AF=9D=E4=B8=AD=E4=BD=BF=E7=94=A8=E7=9A=84?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/session.go b/model/session.go index 536d823..eade844 100644 --- a/model/session.go +++ b/model/session.go @@ -5,7 +5,7 @@ import "time" type Session struct { Uid string `json:"uid"` Name string `json:"name"` - Type int8 `json:"type"` + Type int16 `json:"type"` Token string `json:"token"` ExpiresAt time.Time `json:"expiresAt" time_format:"simple_datetime" time_location:"shanghai"` }