mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-03 16:00:25 +08:00
refactor: json tag完善
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package form
|
||||
|
||||
type AccountCreateForm struct {
|
||||
Id uint64
|
||||
Id uint64 `json:"id"`
|
||||
Name string `json:"name" binding:"required"`
|
||||
Username string `json:"username" binding:"required,min=4,max=16"`
|
||||
Password string `json:"password"`
|
||||
|
||||
Reference in New Issue
Block a user