mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 16:30:25 +08:00 
			
		
		
		
	
		
			
	
	
		
			11 lines
		
	
	
		
			281 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			11 lines
		
	
	
		
			281 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								package repository
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import "mayfly-go/internal/sys/domain/entity"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type OAuthAccount interface {
							 | 
						||
| 
								 | 
							
									// GetOAuthAccount 根据identity获取第三方账号信息
							 | 
						||
| 
								 | 
							
									GetOAuthAccount(condition *entity.OAuthAccount, cols ...string) error
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									SaveOAuthAccount(e *entity.OAuthAccount) error
							 | 
						||
| 
								 | 
							
								}
							 |