mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-05 00:50:21 +00:00
feat: 绑定 oauth2
This commit is contained in:
1 parent
0364632ebc
commit
8b9afbf39c
15 files changed
+360
-24
No files matched your search
+2
-1
@@ -42,7 +42,8 @@ func (u *User) BeforeSave(tx *gorm.DB) error {
|
||||
|
||||
type Profile struct {
|
||||
User
|
||||
LoginIP string `json:"login_ip,omitempty"`
|
||||
LoginIP string `json:"login_ip,omitempty"`
|
||||
Oauth2Bind map[string]string `json:"oauth2_bind,omitempty"`
|
||||
}
|
||||
|
||||
type OnlineUser struct {
|
||||
|
||||
Reference in new issue
Block a user