|
|
@ -11,7 +11,7 @@ type SysUser struct { |
|
|
|
Pass string `xorm:"VARCHAR(100)"` |
|
|
|
Nick string `xorm:"VARCHAR(100)"` |
|
|
|
Phone string `xorm:"index comment('备用电话') VARCHAR(50)"` |
|
|
|
Times time.Time `xorm:"default 'CURRENT_TIMESTAMP' comment('创建时间') TIMESTAMP"` |
|
|
|
Times time.Time `xorm:"default CURRENT_TIMESTAMP comment('创建时间') TIMESTAMP"` |
|
|
|
Logintm time.Time `xorm:"comment('登陆时间') TIMESTAMP"` |
|
|
|
Fwtm time.Time `xorm:"comment('访问时间') TIMESTAMP"` |
|
|
|
} |