fix: create user form

This commit is contained in:
naiba committed 2024-12-22 15:51:37 +08:00
1 parent 75101d860f
commit 1a21abddcf
2 files changed
+5 -1

No files matched your search

+1
View File
@@ -1,6 +1,7 @@
package model
type UserForm struct {
Role uint8 `json:"role,omitempty"`
Username string `json:"username,omitempty"`
Password string `json:"password,omitempty" gorm:"type:char(72)"`
}