细节调整
This commit is contained in:
		
							parent
							
								
									1175c776bf
								
							
						
					
					
						commit
						5fb29db7e9
					
				| 
						 | 
					@ -50,8 +50,8 @@ namespace LY.App.Service
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            items.ForEach(async s =>
 | 
					            items.ForEach(async s =>
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                var key= RedisKeyList.DeviceStatus(s.DeviceSN);
 | 
					                var status = await _redisService.ExistsAsync(RedisKeyList.DeviceStatus(s.DeviceSN));
 | 
				
			||||||
                s.online = await _redisService.ExistsAsync(key);
 | 
					                s.online = status;
 | 
				
			||||||
            });
 | 
					            });
 | 
				
			||||||
            return new ApiResult()
 | 
					            return new ApiResult()
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue