feat: add email in userinfo

This commit is contained in:
liuyuanchuang
2026-03-06 14:02:04 +08:00
parent 7df6587fd6
commit b5d177910c
2 changed files with 2 additions and 9 deletions

View File

@@ -20,8 +20,7 @@ type PhoneLoginResponse struct {
type UserInfoResponse struct {
Username string `json:"username"`
Phone string `json:"phone"`
Status int `json:"status"` // 0: not login, 1: login
Email string `json:"email"`
}
type EmailRegisterRequest struct {