Documentation
¶
Index ¶
- type Store
- func (s *Store) GetComboTokenByAccountId(accountId string) string
- func (s *Store) QueryAccountByFieldAccountId(AccountId uint) *database.Account
- func (s *Store) QueryAccountByFieldUsername(Username string) *database.Account
- func (s *Store) SetComboTokenByAccountId(accountId, comboToken string) string
- func (s *Store) UpdateAccountFieldByFieldName(account *database.Account) (uint, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct { AccountMysql *gorm.DB LoginRedis *redis.Client // contains filtered or unexported fields }
func (*Store) GetComboTokenByAccountId ¶ added in v1.0.5
func (*Store) QueryAccountByFieldAccountId ¶
func (*Store) QueryAccountByFieldUsername ¶
查询账号
func (*Store) SetComboTokenByAccountId ¶ added in v1.0.5
Click to show internal directories.
Click to hide internal directories.