|  |  | 
 |  |  |  | 
 |  |  | import com.dy.common.mw.protocol.Command; | 
 |  |  | import com.dy.common.mw.protocol.Data; | 
 |  |  | import lombok.extern.slf4j.Slf4j; | 
 |  |  | import org.apache.logging.log4j.LogManager; | 
 |  |  | import org.apache.logging.log4j.Logger; | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | import org.springframework.http.*; | 
 |  |  | import org.springframework.http.converter.StringHttpMessageConverter; | 
 |  |  | 
 |  |  |  * @LastEditTime 2023/12/21 20:28 | 
 |  |  |  * @Description | 
 |  |  |  */ | 
 |  |  | @Slf4j | 
 |  |  | @Component() | 
 |  |  | public class CommandResultDeal { | 
 |  |  |  | 
 |  |  |     private static final Logger log = LogManager.getLogger(CommandResultDeal.class.getName()); | 
 |  |  |  | 
 |  |  |     private RestTemplate restTemplate; | 
 |  |  |  | 
 |  |  |     @Autowired |