mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 12:40:07 +00:00
feat: create user, read users, batch delete users
This commit is contained in:
@@ -2,6 +2,6 @@ package model
|
||||
|
||||
type User struct {
|
||||
Common
|
||||
Username string `json:"username,omitempty"`
|
||||
Username string `json:"username,omitempty" gorm:"uniqueIndex"`
|
||||
Password string `json:"password,omitempty" gorm:"type:char(72)"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user