add redis

This commit is contained in:
root committed 2018-04-18 14:16:29 +08:00
1 parent 4fd4c7018e
commit 6419162471
48 files changed
+9952 -14

No files matched your search

+7 -7
View File
@@ -6,13 +6,13 @@ import (
// Account - Account table struct
type Account struct {
ID string `xorm:"id"`
Account string `xorm:"account"`
Password string `xorm:"password"`
Nick string `xorm:"nick"`
Email string `xorm:"email"`
Ctime time.Time `xorm:"ctime"`
Mtime time.Time `xorm:"mtime"`
ID string `xorm:"id" cc:"id"`
Account string `xorm:"account" cc:"account"`
Password string `xorm:"password" cc:"-"`
Nick string `xorm:"nick" cc:"nick"`
Email string `xorm:"email" cc:"email"`
Ctime time.Time `xorm:"ctime" cc:"ctime"`
Mtime time.Time `xorm:"mtime" cc:"mtime"`
}
// GetAllAccount - all account