Documentation
¶
Index ¶
- func ContactToken(number string) (hs []byte)
- func DecodeToken(encoded string) (b []byte, err error)
- func GenAuthKey(salt string, password string) (authKey string)
- func GenSalt() (salt string)
- func GetAccountInfo(c echo.Context) (account models.Account, err error)
- func GetAccountInfoByNumber(number string) (account models.Account, err error)
- func GetOtherAccountInfo(c echo.Context, phoneNumber string) (account models.Account, err error)
- func Resp(c echo.Context, code int, message string, data interface{}) error
- func RespOk(c echo.Context, code int, message string) error
- func VerificationCode(number string) (code string)
- type Data
- type Paginator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeToken ¶
func GenAuthKey ¶
func GetAccountInfo ¶
获取账号信息
func GetAccountInfoByNumber ¶
获取账号信息
func GetOtherAccountInfo ¶
获取账号信息
func VerificationCode ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.