diff options
Diffstat (limited to 'auth/auth.go')
| -rw-r--r-- | auth/auth.go | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/auth/auth.go b/auth/auth.go index 6797c91..ae2db9b 100644 --- a/auth/auth.go +++ b/auth/auth.go @@ -25,3 +25,9 @@ type AuthClaims struct {  	jwt.RegisteredClaims  	UserID uint `json:"userid"`  } + +type LoginReq struct { +	AccountName string +	Method      string +	Password    string +}  |