mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-01-04 21:55:48 +08:00
首页、个人中心内容调整
This commit is contained in:
9
server/sys/api/form/account.go
Normal file
9
server/sys/api/form/account.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package form
|
||||
|
||||
type AccountCreateForm struct {
|
||||
Username *string `json:"username" binding:"required,min=4,max=16"`
|
||||
}
|
||||
|
||||
type AccountUpdateForm struct {
|
||||
Password *string `json:"password" binding:"min=6,max=16"`
|
||||
}
|
||||
Reference in New Issue
Block a user