|  |  | 
 |  |  | package com.dy.pipIrrWechat.mqtt; | 
 |  |  |  | 
 |  |  | import com.alibaba.fastjson2.JSON; | 
 |  |  | import com.dy.common.aop.SsoAop; | 
 |  |  | import com.dy.common.mw.protocol.Command; | 
 |  |  | import com.dy.common.mw.protocol4Mqtt.MqttSubMsg; | 
 |  |  | import com.dy.common.mw.protocol4Mqtt.pSdV1.CodeSdV1; | 
 |  |  | 
 |  |  |      * @return 返回前端 | 
 |  |  |      */ | 
 |  |  |     @PostMapping(path = "start", consumes = MediaType.APPLICATION_JSON_VALUE) | 
 |  |  |     @SsoAop() | 
 |  |  |     public BaseResponse<Object> start(@RequestBody @Valid MonitorMqttDto dto, BindingResult bindingResult) { | 
 |  |  |         return this.send(dto, bindingResult, true) ; | 
 |  |  |     } | 
 |  |  | 
 |  |  |      * @return 返回前端 | 
 |  |  |      */ | 
 |  |  |     @PostMapping(path = "stop", consumes = MediaType.APPLICATION_JSON_VALUE) | 
 |  |  |     @SsoAop() | 
 |  |  |     public BaseResponse<Object> stop(@RequestBody @Valid MonitorMqttDto dto, BindingResult bindingResult) { | 
 |  |  |         return this.send(dto, bindingResult, false) ; | 
 |  |  |     } |