Documentation ¶
Index ¶
- func BindEmail(ctx iris.Context)
- func BindPhone(ctx iris.Context)
- func BindUser(ctx iris.Context)
- func GetSocialAccountByAccountId(id int) (info model.SocialAccount, err error)
- func GetSocialAccountById(socialAccountId, category string, uid int) (info model.SocialAccount, err error)
- func GetTenantAccountByUid(uid int) (info model.TenantAccount, err error)
- func GetTenantById(id int) (info model.Tenant, err error)
- func GetUserInfo(ctx iris.Context)
- func GetUserInfoByCode(code string) (info model.Account, err error)
- func GetUserInfoById(id int) (info model.Account, err error)
- func GetUserInfoByName(name string) (info model.Account, err error)
- func GetUserInfoByThree(name, mobile, email string) (info model.Account, err error)
- func GetUserInfoByUserName(userName string) (info model.Account, err error)
- func InsertSocialAccount(socialAccount model.SocialAccount) (info model.SocialAccount, err error)
- func Route(root iris.Party)
- func UpAccount(ori model.Account, cols ...string) (info model.Account, err error)
- type BindEmailReq
- type BindPhoneReq
- type SocialReq
- type UserInfo
- type UserResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSocialAccountByAccountId ¶
func GetSocialAccountByAccountId(id int) (info model.SocialAccount, err error)
func GetSocialAccountById ¶
func GetSocialAccountById(socialAccountId, category string, uid int) (info model.SocialAccount, err error)
func GetTenantAccountByUid ¶
func GetTenantAccountByUid(uid int) (info model.TenantAccount, err error)
func GetUserInfo ¶
func GetUserInfo(ctx iris.Context)
func GetUserInfoByThree ¶
func GetUserInfoByUserName ¶
func InsertSocialAccount ¶
func InsertSocialAccount(socialAccount model.SocialAccount) (info model.SocialAccount, err error)
Types ¶
type BindEmailReq ¶
type BindPhoneReq ¶
Click to show internal directories.
Click to hide internal directories.