feat: login service and implement database storage
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package domain
|
||||
|
||||
type StaffLoginReq struct {
|
||||
Email string `json:"email" validate:"required"`
|
||||
Password string `json:"password" validate:"required"`
|
||||
}
|
||||
|
||||
type StaffLoginResponse struct {
|
||||
Token string `json:"token"`
|
||||
}
|
||||
Reference in New Issue
Block a user