陈昶聿
6 小时以前 235cf590b8ac4c77d0a9a715d026bc591d9df133
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
32
33
34
35
36
37
38
39
package com.smartor.service;
 
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;
 
import java.util.List;
 
/**
 * 宣教分类Service接口
 *
 * @author smartor
 * @date 2023-03-04
 */
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;
}