mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-08 02:03:42 +08:00
feat: email registration function is ready
This commit is contained in:
@@ -2,7 +2,7 @@ package model
|
||||
|
||||
type User struct {
|
||||
BaseModel
|
||||
Mobile string
|
||||
Username string
|
||||
Nickname string
|
||||
Password string
|
||||
Avatar string
|
||||
|
||||
@@ -4,7 +4,7 @@ import "chatplus/core/types"
|
||||
|
||||
type User struct {
|
||||
BaseVo
|
||||
Mobile string `json:"mobile"`
|
||||
Username string `json:"username"`
|
||||
Nickname string `json:"nickname"`
|
||||
Avatar string `json:"avatar"`
|
||||
Salt string `json:"salt"` // 密码盐
|
||||
|
||||
Reference in New Issue
Block a user