✨ 新增几大中心功能
This commit is contained in:
12
server/model/app/request/public_register.go
Normal file
12
server/model/app/request/public_register.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package request
|
||||
|
||||
type PublicRegister struct {
|
||||
Username string `json:"username" binding:"required,min=3,max=64"`
|
||||
Password string `json:"password" binding:"required,min=6,max=128"`
|
||||
WelcomePhrase string `json:"welcomePhrase" binding:"required,min=1,max=255"`
|
||||
|
||||
Captcha string `json:"captcha"`
|
||||
CaptchaId string `json:"captchaId"`
|
||||
|
||||
InviteCode string `json:"inviteCode"`
|
||||
}
|
||||
Reference in New Issue
Block a user