mirror of
				https://github.com/linux-do/new-api.git
				synced 2025-11-04 13:23:42 +08:00 
			
		
		
		
	Merge remote-tracking branch 'origin/main'
This commit is contained in:
		@@ -74,7 +74,7 @@ func CacheGetUsername(id int) (username string, err error) {
 | 
			
		||||
	}
 | 
			
		||||
	username, err = common.RedisGet(fmt.Sprintf("user_name:%d", id))
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		username, err = GetUserGroup(id)
 | 
			
		||||
		username, err = GetUsernameById(id)
 | 
			
		||||
		if err != nil {
 | 
			
		||||
			return "", err
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user