niki/param/benefactor/benefactore/login_register.go

12 lines
347 B
Go
Raw Permalink Normal View History

package benefactoreparam
type LoginOrRegisterRequest struct {
2024-05-14 13:07:09 +00:00
PhoneNumber string `json:"phone_number" example:"09198829528"`
VerificationCode string `json:"verification_code" example:"12345"`
}
type LoginOrRegisterResponse struct {
BenefactorInfo BenefactroInfo `json:"benefactore_info"`
Tokens Tokens `json:"tokens"`
}