feat: channel email is done

This commit is contained in:
JustSong
2022-11-11 17:24:03 +08:00
parent f1d5d9c8d1
commit e1d09aa58f
15 changed files with 196 additions and 67 deletions
+1
View File
@@ -17,6 +17,7 @@ type User struct {
Email string `json:"email" gorm:"index" validate:"max=50"`
GitHubId string `json:"github_id" gorm:"column:github_id;index"`
WeChatId string `json:"wechat_id" gorm:"column:wechat_id;index"`
Channel string `json:"channel"`
VerificationCode string `json:"verification_code" gorm:"-:all"`
}