作者 yangfu
@@ -8,14 +8,20 @@ type ILoginAuth interface { @@ -8,14 +8,20 @@ type ILoginAuth interface {
8 //TODO 8 //TODO
9 //账号密码登录 9 //账号密码登录
10 type LoginByPassword struct { 10 type LoginByPassword struct {
  11 + Username string
  12 + Password string
11 } 13 }
12 14
13 //手机短信登录 15 //手机短信登录
14 type LoginBySms struct { 16 type LoginBySms struct {
  17 + Phone string
  18 + Code string
15 } 19 }
16 20
17 //其他第三方登录 21 //其他第三方登录
18 type LoginByXxxx struct { 22 type LoginByXxxx struct {
  23 + Account string
  24 + Identity string
19 } 25 }
20 26
21 var ( 27 var (