mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 16:40:21 +00:00
update profile api (#16)
* update profile api * rename * fix realip assertion * add waf api
This commit is contained in:
1 parent
6db1a4b19d
commit
e465134c11
7 files changed
+85
-7
No files matched your search
@@ -5,3 +5,8 @@ type User struct {
|
||||
Username string `json:"username,omitempty" gorm:"uniqueIndex"`
|
||||
Password string `json:"password,omitempty" gorm:"type:char(72)"`
|
||||
}
|
||||
|
||||
type Profile struct {
|
||||
User
|
||||
LoginIP string `json:"login_ip,omitempty"`
|
||||
}
|
||||
Reference in new issue
Block a user