package com.ruoyi.common.core.service;
|
|
import com.ruoyi.common.core.domain.DingTalkReqVo;
|
|
/**
|
* 钉钉消息发送服务接口(公共层,供ruoyi-system等基础模块使用)
|
*/
|
public interface IDingTalkService {
|
/**
|
* 发送钉钉消息
|
*
|
* @param dingTalkReqVo 发送内容
|
* @return 是否成功
|
*/
|
Boolean sendNotification(DingTalkReqVo dingTalkReqVo);
|
|
/**
|
* 发送钉钉消息-景宁
|
* @param sMessageContent
|
* @throws Exception
|
*/
|
void sendDingTalkText(String sMessageContent, String userId) throws Exception;
|
|
/**
|
* 根据电话获取用户
|
* @param mobile
|
* @return
|
* @throws Exception
|
*/
|
String getDingTalkUserByMobile(String mobile) throws Exception;
|
}
|