enhance(model):改进用户会话中使用的类型。
This commit is contained in:
parent
83b0cd89f4
commit
31ec847ab2
|
@ -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"`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user