作者 yangfu
... ... @@ -8,14 +8,20 @@ type ILoginAuth interface {
//TODO
//账号密码登录
type LoginByPassword struct {
Username string
Password string
}
//手机短信登录
type LoginBySms struct {
Phone string
Code string
}
//其他第三方登录
type LoginByXxxx struct {
Account string
Identity string
}
var (
... ...