陈昶聿
10 小时以前 b4ba8745d244d44dc0860b9981130278de6295eb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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;
}