generate jwt
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package dto
|
||||
|
||||
type LoginRequestForm struct {
|
||||
Username string `json:"username,omitempty"`
|
||||
Password string `json:"password,omitempty"`
|
||||
}
|
||||
|
||||
type LoginResponse struct {
|
||||
Token string `json:"token,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user