Files
mayfly-go/server/internal/auth/domain/repository/oauth2.go

13 lines
321 B
Go
Raw Normal View History

2023-07-22 20:51:46 +08:00
package repository
import "mayfly-go/internal/auth/domain/entity"
type Oauth2Account interface {
// GetOAuthAccount 根据identity获取第三方账号信息
GetOAuthAccount(condition *entity.Oauth2Account, cols ...string) error
SaveOAuthAccount(e *entity.Oauth2Account) error
2023-07-24 22:36:07 +08:00
DeleteBy(e *entity.Oauth2Account)
2023-07-22 20:51:46 +08:00
}