修改账号注册方法,以及邮箱协议对接

This commit is contained in:
zyj
2025-09-24 18:22:25 +08:00
parent 002419a7ed
commit 81ed379cf3
21 changed files with 1090 additions and 8 deletions

17
models/email.go Normal file
View File

@@ -0,0 +1,17 @@
package models
type Email struct {
ID int64 `gorm:"id;primary_key;auto_increment"`
Name string `gorm:"name"`
Email string `gorm:"email"`
Password string `gorm:"password"`
UseStatus string `gorm:"use_status"`
Platform string `gorm:"platform"`
UpdateTime int64 `gorm:"update_time"`
CreateTime int64 `gorm:"create_time"`
}
// 实现 TableName 方法指定表名
func (Email) TableName() string {
return "ar_email"
}