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