| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.DingTalkReqVo; |
| | | import com.ruoyi.common.core.domain.DingTalkReqVo; |
| | | import com.ruoyi.common.core.service.IDingTalkService; |
| | | import com.smartor.domain.HeCategory; |
| | | import com.taobao.api.ApiException; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | |
| | | * @author smartor |
| | | * @date 2023-03-04 |
| | | */ |
| | | public interface DingTalkService { |
| | | public interface DingTalkService extends IDingTalkService { |
| | | /** |
| | | * 发送钉钉消息 |
| | | * |
| | | * @param dingTalkReqVo |
| | | */ |
| | | public Boolean sendNotification(DingTalkReqVo dingTalkReqVo); |
| | | |
| | | /** |
| | | * 发送钉钉消息-景宁 |
| | | * @param sMessageContent |
| | | * @throws Exception |
| | | */ |
| | | public void sendDingTalkText(String sMessageContent, String userId) throws Exception; |
| | | |
| | | /** |
| | | * 根据电话获取用户 |
| | | * @param mobile |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public String getDingTalkUserByMobile(String mobile) throws Exception; |
| | | } |