| | |
| | | import com.dy.common.mw.protocol.Command; |
| | | import com.dy.common.webUtil.BaseResponse; |
| | | import com.dy.common.webUtil.QueryResultVo; |
| | | import com.dy.pipIrrGlobal.config.DingTalk; |
| | | import com.dy.pipIrrGlobal.daoPr.PrDivideMapper; |
| | | import com.dy.pipIrrGlobal.daoPr.PrIntakeMapper; |
| | | import com.dy.pipIrrGlobal.pojoPr.PrIntake; |
| | |
| | | |
| | | protected static String mwUrlSendCom = "http://127.0.0.1:8070/rtuMw/com/send" ; |
| | | |
| | | @Autowired |
| | | private DingTalk dingTalk; |
| | | |
| | | public String sendMessage(String message) { |
| | | try { |
| | | dingTalk.sendMessage(message); |
| | | } catch (Exception e) { |
| | | return "发送失败"; |
| | | } |
| | | return "发送成功"; |
| | | } |
| | | |
| | | /** |
| | | * 添加取水口 |