mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-06 21:50:05 +00:00
feat: 绑定 oauth2
This commit is contained in:
@@ -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