Documentation ¶
Index ¶
- func ExpireToken(token string)
- func ExpireTokenByID(token string, userID uint32)
- func Get(id uint32) (uint32, string)
- func GetIDByMobile(mobile string) uint32
- func GetInfoByToken(token string) (userID uint32, openID string)
- func ListByIDs(id []uint32) []proto.User
- func Login(loginType uint32, device, mobile, code string) string
- func UpdateMobile(mobile string, userID uint32)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpireToken ¶
func ExpireToken(token string)
func ExpireTokenByID ¶ added in v0.6.0
func GetInfoByToken ¶
GetInfoByToken 通过token获取userID和openID
func UpdateMobile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.